Hello All,
i have this configuration in development.rb
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: "smtp.gmail.com",
port: 587,
domain: "gmail.com",
authentication: "plain",
enable_starttls_auto: true,
user_name: emailid,
password: password,
ssl: true
}
config.action_mailer.perform_deliveries = true
Using Rails 4 and ruby 2 versions, emails are not getting delivered though
in the console it shows as below
Sent mail to emailid (30012.9ms)
Date: Thu, 23 Apr 2015 15:40:29 +0530
From: [email protected]
To: [email protected]
Message-ID: <[email protected]>
Subject: SMT
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<h2>Hi This a mail regarding the cell rotation </h2>
and Error outs as
*Net::OpenTimeout (execution expired):*
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/CAEGezZUKeeiddOcGrFBHapEGuvNTw6j87_59Rcbi27jKDWzF%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.