I submitted a patch, changing smtp_settings and sendmail_settings to
class_inheritable_hash variables, allowing you to change server
settings per subclass of ActionMailer::Base. This is especially useful
when using Gmail SMTP servers which forces your "from" email address
to match the address in smtp_settings[:user_name]. Having multiple
smtp_options is the only way to send from multiple addresses in one
application, in that scenario.
This works perfectly when assigning your settings within
environment.rb, but gets a little wonky when trying to change
ActionMailer::Base settings on the fly, as its subclasses won't
reflect those changes (hence the updated tests in the patch).
Could you let me know what you think? Thank you.