Don't allow STARTTLS to be used when sending mail

Ruby's mail library seems to be very picky about the certificate
validity if STARTTLS is used, so disable it.
This commit is contained in:
Tom Hughes 2010-09-03 16:52:31 +01:00
parent f50ef32743
commit 09e5528ecd

View file

@ -3,6 +3,7 @@ ActionMailer::Base.smtp_settings = {
:address => 'localhost',
:port => 25,
:domain => 'localhost',
:enable_starttls_auto => false
}
# Monkey patch to allow sending of messages in specific locales