大家好:
我用ActionMailer 发送电子邮件,使用Gmail是可以发送的,
但是到公司,使用公司的邮件系统就出现了:
502 Command "AUTH LOGIN" not implemented
这个错误,
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "XX",
:port => 25,
:domain => "xx" ,
:authentication => :login,
:user_name=> "username",
:password => "password"
}
请问这是什么问题?
:authentication => :login,
是这一句的问题,看看你们公司的邮件系统支持哪种方式