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.
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.
Read SMTP settings from database only when mailing, as
ApplicationController is not in use in Rake tasks.