Hello people I have an app that I deploy to multiple sites. In this app, I send out email notifications. In my actionmailer I have ActionMailer::Base.smtp_settings = { :address => ''smtp.[domain]'', :port => 25, :domain => ''smtp.[domain]'', :user_name => ''noreply@[domain]'', :password => ''[password]'', :authentication => :plain } I know in the controller, I can do a request.domain(1) to get the domain.com, but I''m not in the controller. If my understanding is correct, this is ran once as the mongrels are starting up. How would I determine the domain name without the request object? Thanks for your help. Kevin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---