redmine使用google app 寄送 email 通知信

先安裝及設定
http://redmineblog.com/articles/setup-redmine-to-send-email-using-gmail/

照最下面去改smtp_tls.rb
http://www.redmine.org/boards/2/topics/4833

測試
1. Login as an administrator
2. Go to the Administration panel
3. Go into the Settings and select the “Email notifications” tab
4. In the bottom right, click the link to “Send a test email”

update: 2012/06/08

1. 修改 configuration.yml

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      tls: true
      enable_starttls_auto: true
      address: "smtp.gmail.com"
      port: 587
      domain: "example.com.tw" # 'your.domain.com' for GoogleApps
      authentication: :plain
      user_name: "redmine@example.com.tw"
      password: "example"

2. 修改 environment.rb

config.action_mailer.perform_deliveries = true

3. 重啟 redmine

收工 *菸*

發佈留言

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料