Initialize the SMTP configuration properly with the database as source.
The only reliable way to load SMTP settings is before each action -- loading inside each mailer did not work.
Initialize the SMTP configuration properly with the database as source.
The only reliable way to load SMTP settings is before each action -- loading inside each mailer did not work.
Making those settings optional that actually are optional.
Fixing syntax error.
Read SMTP settings from database only when mailing, as
ApplicationController is not in use in Rake tasks.
Merge branch 'rca_initialize_email_settings_on_next' of github.com:zhdk/leihs into rca_initialize_email_settings_on_next