I have a need to use two different smtp servers in a Rails application. It appears that the way ActionMailer is constructed, it is not possible to have different smtp_settin
Tried to use jkrall's option with Rails 3.2.1 but for some reason it wouldn't override default configuration, but doing:
MyMailer.my_email.delivery_method.settings.merge!(SMTP_SETTINGS).deliver
Similar to http://www.scottw.com/multiple-smtp-servers-with-action-mailer, made it work.