Has anyone used ActionMailer with an RoR app yet? I have my settings in the environment.rb file. The setting look like:

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => ‘’,
:port => 25,
:domain => ‘’,
:user_name => ‘m9XXXXXX’,
:password => ‘XXXXXX’,
:authentication => :plain

I don’t get any error messages with this, but I also don’t receive the message. Anyone have experience with this?


I never used action mailer, but it looks like the address is wrong. Shouldn’t it be

I tried that, but still no success.

Thanks for the idea though.

I think you need to change :authentication => :plain to :authentication => :login

That works for me anyway…

I got it to work with:

ActionMailer::Base.delivery_method = :sendmail

and no other server settings. I had to set the from field on the message for delivery to go through.