我在手机上配置收取邮件只需要填 服务器:mail.euchost.com 用户名:[email protected] 密码:password 还有选择 exchange 就可以配好
但是在配置的时候还需要填端口,authentication 啥的 假设我的邮箱是 [email protected],我按照下面的填,邮件发不出去 注释是 QQ 配置 测试可以发邮件,不知道 exchange 的写法哪里不对?还是还需要改其他地方?
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
# :address => "smtp.qq.com",
# :port => 587,
# :domain => "qq.com",
# :authentication => :login,
# :user_name => "[email protected]",
# :password => "password"
:address => "mail.euchost.com",
:port => 110,
:domain => "abc.cn",
:authentication => :ntlm,
:user_name => "[email protected]",
:password => "password"
}