Programming - cpueblo.com

Redmine 2.3.3 에서 메일 발송을 gmail 또는 Google Apps 로 보내기


글쓴이 : 유광희 날짜 : 2013-12-31 (화) 18:57 조회 : 23177

안녕하세요. 유광희 입니다.

http://redmine2.cpueblo.com에 설치된 Redmine Bitnami 패키지를 이용하여 설치하였습니다.

이번에 Redmine 을 공개하면서 이메일 세팅한 내용 입니다.

1.x 버전과 다르게 파일명과 내용이 약간 달랐습니다.

각 버전별로 세팅 내용이 조금 달라 공유 드립니다.

Redmine 설치 경로는 자신의 서버에 설치된 경로를 확인해주세요

이후 Redmine 을 재시작 해주시면 됩니다.

 

Redmine 1.x

/usr/local/redmine/apps/redmine/config/email.yml 파일을 생성 후 아래 내용으로 작성


production:
  delivery_method: :smtp
  smtp_settings:
    tls : true
    enable starttls auto: true
    address: smtp.gmail.com
    port: 587
    domain: gmail.com
또는 자신의 Google Apps 도메인 계정
    authentication: :login
    user_name:
로그인이메일주소
    password:
로그인비밀번호

 

Redmine 2.x

/opt/redmine-2.3.3-1/apps/redmine/htdocs/config/configuration.yml 을 편집
default
test production 관계없이 모두 이메일을 아래처럼 설정합니다.


# default configuration options for all environments
default:
  # Outgoing emails configuration (see examples above)
  email_delivery:
  delivery_method: :smtp
  smtp_settings:
    enable_starttls_auto: true
    address: smtp.gmail.com
    port: 587
    domain: gmail.com
또는 자신의 Google Apps 도메인 계정
    authentication: :plain
    user_name:
로그인이메일주소
    password:
로그인비밀번호

감사합니다.