CruiseControl.rb:插件 EmailNotifier 错误:501 5.1.7 发件人地址语法错误?
我似乎无法弄清楚这一点。我在 Cruisecontrol.rb 中设置了我的电子邮件地址,但无论我如何设置,它总是给我这个错误。
当前设置为:
project/cruise_config.rb:
project.email_notifier.emails = [' [电子邮件受保护]']
project.email_notifier.from = '[电子邮件受保护]'
site_config.rb:
ActionMailer::Base.smtp_settings = { :地址=> “本地主机”, :域=> “myemail.com”, }
我什至尝试过
ActionMailer::Base.delivery_method = :sendmail
Configuration.email_from = '[电子邮件受保护]'
对于为什么我的巡航控制无法发送电子邮件有什么想法吗?谢谢!
贾斯汀
I can't seem to figure this out. I setup my email address in cruisecontrol.rb but no matter how I set it, it always gives me this error.
Current settings are:
project/cruise_config.rb:
project.email_notifier.emails = ['[email protected]']
project.email_notifier.from = '[email protected]'
site_config.rb:
ActionMailer::Base.smtp_settings = {
:address => "localhost",
:domain => "myemail.com",
}
I've even tried
ActionMailer::Base.delivery_method = :sendmail
Configuration.email_from = '[email protected]'
Any thoughts as to why my cruisecontrol can't send an e-mail? Thanks!
Justin
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
显然,所需要的只是重新启动系统。太奇怪了。
Apparently all the system needed was a reboot. Totally weird.