开发者

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

开发者 https://www.devze.com 2023-03-11 15:53 出处:网络
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 messa

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

精彩评论

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