Brian Takita
2005-Oct-13 18:38 UTC
Does ActionMailer support multiple configurations? Can an ActionMailer child class define a custom configuration?
Hello, I read that the ActionMailer configuration should be set in the environment.rb file (See http://am.rubyonrails.com/ and page 399 in the PP Rails Book). In my case, I have a customer rep admin application that administers multiple websites. One of the features involves emailing the login info for new subscribers that that sign up for the websites by mail. I would like to use the appropriate smtp server for the website. Can an ActionMailer child class set its own mail server configuration, and not affect the other ActionMailer classes? If not, it seems I will have to use an alternative, such as RhizMail. -- Thank you, Brian Takita http://freeopinion.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails