I am using rails 2.3.4 and ruby 1.8.7
Setting up the SMTP via Gmail but failed:
ActionMailer::Base.smtp_settings = {
:address => “smtp.gmail.com”,
:port => 587,
:authentication => :plain,
:enable_starttls_auto => true,
:user_name => “noreply@gmail_or_your_google_domain.com”,
:password => “chucknorris”
}
Got:
Must issue a STARTTLS command (seems that many ppl said with the
enable_starttls_auto setting, I shouldn’t see this error).
Then I tried to use Mikel’s mail:
I got execution expired timeout error on my deliver.
My question is whether Mikel’s gem will use the
ActionMailer::Base.smtp_settings? and How should I set up the SMTP via
Gmail?
Thanks!
Arthur