Email working

has anybody actually gotten to send email working?

i tried putting this in my environments.rb file,
and the server will not start with it now.
i can remove the code and it will,

i am on vista home premium. i have ubuntu too,
but this is a vista client, ruby 1.8.6 and rails 1.2.6.

here is a sample of the code:

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => “smtp.client.com”,
:authentication => :login,
:user_name => “secret”,
:password => “bigsecret”
}

i started all this from RESTFUL AUTHENTICATION, but having
all kinds of trouble. anybody got something that more or less,
does the same thing but just works mostly?

thanks a bunch

What is the server error you are getting? Here is my working config:

ActionMailer::Base.smtp_settings = {
:address => “mail.mydomain.com”,
:port => 25,
:domain => “domain.com”,
:authentication => :login,
:user_name => “[email protected]”,
:password => “password”
}
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.default_charset = “utf-8”
ActionMailer::Base.default_content_type = “text/html”

On Dec 6, 1:05 pm, “gemblon (t.b.)” [email protected]

Matt W. wrote:

What is the server error you are getting? Here is my working config:

ActionMailer::Base.smtp_settings = {
:address => “mail.mydomain.com”,
:port => 25,

On Dec 6, 1:05 pm, “gemblon (t.b.)” [email protected]

that worked. i wonder what i did wrong. doh. thanks a bunch…