PDA

View Full Version : Ruby on Rails ActionMailer



cantinflas83
11-21-2006, 10:51 AM
I'm trying to use the Ruby on Rails Action Mailer to send emails from my application. Does anyone know what the proper configuration might be? Below is the code I found from the Ruby on Rails wiki: http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer


# Include your app's configuration here:
ActionMailer::Base.server_settings = {
:address => "smtp.postoffice.net",
:port => 25,
:domain => 'www.mywebsite.com',
:user_name => "me@postoffice.net",
:password => ‘mypass’,
:authentication => :login
}


What are the correct values to make it work?