I want to create a Rails application where on first request the user is directed to a setup configuration wizard. In this wizard they will need to configure their email settings for ActionMailer to use, ie. SMTP server settings/credentials.
How can I programatically update the configuration entries for ActionMailer (I assume Application.rb will need to be updated)?
How can I make ActionMailer reload these updated configuration settings? I noticed that a lot of these settings are loaded on application start/initialization and I don't want to restart the Rails application for these changes to take effect.