STMP Setup with rails ActionMailer

STMP Setup with rails ActionMailer

I'm trying to setup ZOHO Stmp with Action Mailer on Rails. Hello, I need help with setting up my email support@primeauth.com with Rails ActionMailer using STMP.

I've followed almost all guides on Google related to this.

config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { address: 'smtp.zoho.com', port: 465, user_name: 'email@mydomain.com', domain: 'mydomain.com', password: '', // correct password was used.  authentication: :plain, ssl: true, tls: true } // P.S I've used correct username and password.