redmine配置SMTP时,发送邮件错误解决方法
Redmin可以为一些操作提供邮件通知如主题改变,新增问题等,这样可以让开发人员及时知道变化。在使用此功能前需要先配置邮件服务器,将config目录下的email.yml.example更名为email.yml,然后用文本编辑器打开此文件,将内容改为如下:
[b]production: delivery_method: :smtp smtp_settings: address: mail1.swordair.com port: 25 domain: swordair.com authentication: :login #delete this line user_name: redmine #delete this line password: redmine #delete this line[/b]
[b]production: delivery_method: :smtp smtp_settings: address: "mail1.swordair.com" port: 25 domain: "swordair.com" authentication: :login user_name:" redmine" password: "redmine" [/b]