Patch #17239
closedActionMailer cannot send email via SSL SMTP
0%
Description
I'm setting up a Redmine with Bitnami Stack. All works but sending email not.
Environment:
Redmine version 2.5.1.stable
Ruby version 1.9.3-p545 (2014-02-24) [x86_64-linux]
Rails version 3.2.17
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.0
Filesystem
Redmine plugins:
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)
Files
Updated by hongbo yang over 10 years ago
- Status changed from New to Resolved
hongbo yang wrote:
I'm setting up a Redmine with Bitnami Stack. All works but sending email not.
Environment:
Redmine version 2.5.1.stable
Ruby version 1.9.3-p545 (2014-02-24) [x86_64-linux]
Rails version 3.2.17
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.0
Filesystem
Redmine plugins:
no plugin installedI 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-18the 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
default: # Outgoing emails configuration (see examples above) email_delivery: delivery_method: :smtp smtp_settings: address: smtp.domain.com port: 465 ssl: true enable_starttls_auto: true domain: domain.com authentication: :login user_name: redmine@domain.com password: xxxx
Updated by Jan Niggemann (redmine.org team member) over 10 years ago
- Status changed from Resolved to Closed