Topography of IT

갈대적 속성의 ITer

개발일지

[redmine 3.0] gmail smtp 설정

옹단 2021. 3. 19. 09:32

Redmine 설치폴더\apps\redmine\htdocs\config\configuration.yml 파일을 건드려야 한다. 

 

 

 

# default configuration options for all environments

default:

  # Outgoing emails configuration

  # See the examples below and the Rails guide for more configuration options:

  # http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration

  email_delivery:

    delivery_method: :smtp

    smtp_settings:

 

      enable_starttls_auto: true

      address: "smtp.gmail.com"

      port: 587

      domain: "smtp.gmail.com"

      authentication: :plain

      user_name: "아이디@gmail.com"

      password: "패스워드"

 

prodction:

  email_delivery:

    delivery_method: :smtp

    smtp_settings:

      enable_starttls_auto: true

      address: "smtp.gmail.com"

      port: '587'

      domain: "smtp.gmail.com"

      authentication: :plain

      user_name: "아이디@gmail.com"

      password: "패스워드"

 

 

 

gmail smtp

설정을 위와같이 설정 후 

 

1. Redmine 서비스 관리 콘솔에서 재시작 

 

2. Admin 계정 로그인 

 

3. 관리 > 메일알림 > 하단 테스트 메일 보내기 클릭 후 

 

Admin 계정의 메일함을 확인해보면 된다. 

 

사용시 관리 > 사용자 > 사용자 ID 클릭 > 메일 알림에 대한 설정을 확인해야 한다.