ActionMailer cannot send email via SSL SMTP
Added by hongbo yang almost 9 years ago.
Updated almost 9 years ago.
mailer_ext.rb (646 Bytes)
||the patch supplied by https://rails.lighthouseapp.com/projects/8994/tickets/1731-make-enable_starttls_auto-opt-in-in-actionmailer#ticket-1731-18
hongbo yang, 2014-06-20 10:14
- Status changed from New to Resolved
hongbo yang wrote:
I'm setting up a Redmine with Bitnami Stack. All works but sending email not.
Redmine version 2.5.1.stable
Ruby version 1.9.3-p545 (2014-02-24) [x86_64-linux]
Rails version 3.2.17
Database adapter Mysql2
no plugin installed
I googled through web, I find the solution:
http://www.redmine.org/boards/2/topics/13625?r=15681 referenced: https://rails.lighthouseapp.com/projects/8994/tickets/1731-make-enable_starttls_auto-opt-in-in-actionmailer#ticket-1731-18
the action mailer cannot handle ssl smtp server correctly. the referenced url gives a bug fix for redmine (or for rails)
I tried that smtp settings does have a ssl option
so currently we do not need the mailer_ext.rb patch file to work with SSL smtp server. but the ssl option is not mentioned in current doc
# Outgoing emails configuration (see examples above)
- Status changed from Resolved to Closed
Also available in: Atom