开发者

Which are the smtp_settings for sending email with an account that uses Exchange?

I've configured smtp_settings for sending emails under Google Apps accounts several times, but now that I need to configure it for an email account using exchange it throws me execution expired message with the following settings:

config.action_mailer.smtp_settings = {
:enable_starttls_auto => true,
:address => 'smtp',
:port => 995,
:domain => 'domain',
:user_name => 'username',
:password => 'password',
:authentication => :plain,
}

The smtp, domain, user name and password were given to me by the client. The port I think it must be 995 (as it u开发者_开发百科ses SSL).

Any ideas?


Well, I figured that the port was 25 instead of 995 and the authentication was login instead of plain.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜