This project is archived and is in readonly mode.
SSL problem with SMTP in 2.2.2
-
rssaddict
Also, this post on the Slicehost forums seems to relate to the same bug:
-
Dan Ryan
You'll see this error if your mailserver has an SSL certificate set up for a hostname other than the one to which you are trying to connect. I was experiencing the same error, until I changed my smtp_settings to reflect the hostname of the associated SSL cert.
-
Dan Ryan
Created a patch that adds an :ssl true/false option to the smtp_settings hash to toggle whether ssl is used. Defaults to true.
-
Michael Koziarski
Instead of == false, just use the unless !options[:ssl]
That'll let people set it to nil, and is a little more readable.
Also, there are no tests for this patch. You'd probably need to use mocha. Care to take a stab at those?
-
Dan Ryan
I like that idea much better. I'll write tests for it and upload those soon
-
Ken Liu
this is fixed in #1731 Make enable_starttls_auto opt-in in ActionMailer
-
CancelProfileIsBroken
- State changed from new to resolved
