Has anyone setup ActionMailer to work on the home development machine,
using SMTP server from a remote server, say your web host?
I''m trying to get mine to work, but I get a "Connection refused -
connect(2)" error when I run my app. I''m using
DreamHost''s SMTP server.
Here''s how I''m configuring ActionMailer :
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => "mail.domain.com",
:port => 25,
:domain => "domain.com"
:authentication => :login,
:user_name => "username",
:password => "password"
}
Obviously I use the correct info, but everything else is the same.
Any help would sure be appreciated.
Thanks
Clint