Topic: How to send a mail from rails application only on SSL by own domain

I want to send an email (like confirmation mail to registration) from my rails application with my own domain.My mail server only accepts SSL connection. And actionmailer giving the problem while dealing with the SSL.I have gone through following code but its not working for me.

config.action_mailer.smtp_settings = {
:ssl => true,
:address => "mail.XYZCompany.com",
:port => 465,
:domain => 'mail.XYZCompany.com',
:authentication => :login,
:user_name => "abcd@XYZCompanycom",
:password => "passwordformail"
}


please provide solution with some examples.

Last edited by iamprajyot (2012-06-11 06:35:42)