Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1265638
  • 博文数量: 264
  • 博客积分: 10772
  • 博客等级: 上将
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-25 11:54
文章分类

全部博文(264)

文章存档

2012年(4)

2011年(51)

2010年(31)

2009年(57)

2008年(51)

2007年(70)

分类: WINDOWS

2011-07-16 10:39:10

FROM: 这个具体步骤按照Redmine官方步骤操作就行,但是却会出现一个:“ Must issue a STARTTLS command first. ”错误,最后发现只需要加上如下红色部分,就可解决。感谢ing.... 由 更新于 之前

Hi,

I'm getting back to this issue because I found a solution that works for me and I think should be added to the wiki page.

I made a "last" search on google to try to find a solution to this problem (someone suggest to install a smtp server for redmine but I find it a bit overkill if it's just for this) and I found this :

The important part being :

"The most important line is enable_starttls_auto => true."

So just to check, I edited my redmine email config file and added "enable_starttls_auto: true" to get similar code :

production:
delivery_method: :smtp
smtp_settings:
tls: true
enable_starttls_auto: true
address: "smtp.gmail.com"
port: '587'
domain: "smtp.gmail.com"
authentication: :plain
user_name: "your_email@gmail.com"
password: "your_password"

And then fired a test email using a google app account.

It worked.

So maybe it's just that line that is missing in the documentation (specific to google apps) and that would really help other people.
Should I add it myself to the wiki page? ( this one http://redmineblog.com/articles/setup-redmine-to-send-email-using-gmail/ )
Is it really a solution that works for everyone?

Anyway I'm happy I fixed the last showstopper for more serious use of redmine for my projects :)

阅读(2164) | 评论(0) | 转发(0) |
0

上一篇:BitNami

下一篇:redmine wiki无法设置字体颜色

给主人留下些什么吧!~~