Topic: Configure gmails settings for sending email
My sending email function in ROR was working fine till recently without any problem and no settings were written in environment.rb file. However, now I get message SMTPauthentication error. After a great research and continous reading I came across this
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:enable_starttls_auto => true,
:address => 'smtp.gmail.com',
:port => 465,
:authentication => 'plain',
:domain => 'mydomain',
:user_name => 'username',
:password => 'password'
}
the error has vanished and new error Error-time out as cropped up after a long pause
somebody help me