I have deployed my rails app in cent os6 it is giving me
OpenSSL::SSL::SSLError (hostname "smtp.gmail.com" does not match the server
certificate)
it is working in my local pc perfectly, also my smtp settings is
config.action_mailer.smtp_settings = {
address: 'smtp.gmail.com',
port: 587,
domain: ENV['DOMAIN_NAME'],
authentication: 'plain',
enable_starttls_auto: true,
user_name: ENV['GMAIL_USERNAME'],
password: ENV['GMAIL_PASSWORD'],
openssl_verify_mode: 'none'
}
--
You received this message because you are subscribed to the Google Groups
"sage-support" 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].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.