smtp_settings required (even empty) even when useless because using sendmail
Added by Stéphane Gourichon over 13 years ago
Hello,
Not yet a formal bug report, might become.
Observed behavior :
On my redmine install the first configuration.yml can send e-mails using sendmail (actually, nullmailer) and it actually works.
The second (empty "smtp_settings:" commented out) refuses to send e-mails, says I should add SMTP settings.
SMTP settings are useless when using sendmail. Creating an empty entry just makes the code happy.
Expected behavior : both can send e-mails.
production: email_delivery: delivery_method: :sendmail default: email_delivery: smtp_settings:
production: email_delivery: delivery_method: :sendmail default: email_delivery: # smtp_settings:
- redmine version and dependencies packaged by Ondřej Surý : 1.2.0-1~lucid+3
- database version - MySQL 5.1.41-3ubuntu12
- Ruby version 1.8.7 (i486-linux)
- RubyGems version 1.3.5
- Rack version 1.1
- Rails version 2.3.11
- Active Record version 2.3.11
- Active Resource version 2.3.11
- Action Mailer version 2.3.11
- Active Support version 2.3.11
- Edge Rails revision unknown
- Application root /usr/share/redmine
- Environment production
- Database adapter mysql
- Database schema version 20110511000000