I saw this post but mine is slightly different:
http://stackoverflow.com/questions/1559879/rails-actionmailer-with-multiple-smtp-servers
I am allowing the users to send mail using their own SMTP credentials so it actually does come from them.
But they will be sent from the Rails app, so that means for each user I need to send their emails using their own SMTP server.
How can I do that?