Rails Action Mailer Zoho mail smtp
Hello,
I'm trying to configure my rails application to send contact forms to my Zoho mail inbox. I've already enabled the IMAP connections and set the environment variables on heroku. Here is my configs:
config.action_mailer.delivery_method = :smtp
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = false
config.action_mailer.default :charset => "utf-8"
config.action_mailer.smtp_settings = {
:address => 'smtp.zoho.com',
:port => 465,
:user_name => ENV["MAIL_USERNAME"],
:domain => ENV["MAIL_DOMAIN"],
:password => ENV["MAIL_PASSWORD"],
:authentication => :login,
:ssl => true,
:tls => true,
:enable_starttls_auto => true
}
The problem is that I'm not receiving any email in my inbox. Need some help here!
Thanks