Action::Mail

Hi Everyone

I am learning RoR from a book and I am the part where I am using the
Action Mailer. And I am about to configuer the e-mail so that I can
recive and send from a form. But I am stuck on what to replace the
following code with my own email config.

This is what the book says:

Add the following lines of code to the bottom of your environment.rb as
well as
replacing the placeholder values with your specific values:

ActionMailer::Base.server_settings = {
:address => “smtp.railssolutions.com”,
:port => 25,
:domain => “railssolutions.com”,
:authentication => :login,
:user_name => “username”,
:password => “password”,
}

Em Quinta 26 Julho 2007 09:32, Dom T. escreveu:

:domain => “railssolutions.com”,
:authentication => :login,
:user_name => “username”,
:password => “password”,

}

Do you must change :address, :port, :domain, :user_name and :password?

HTH,


Davi V.
[email protected]
[email protected]

"Religion, ideology, resources, land,
spite, love or “just because”…
No matter how pathetic the reason,
it’s enough to start a war. "

Do you must change :address, :port, :domain, :user_name and :password?

HTH,

:address => “smtp.mail.yahoo.com”,
:port => 25,
:domain => “yahoo.com”,
:authentication => :login,
:user_name => “username”,
:password => “password”,

I replaced it with the follwing does it look ok ?

On 26 Jul 2007, at 15:22, Dom T. wrote:

:address => “smtp.mail.yahoo.com”,
:port => 25,
:domain => “yahoo.com”,
:authentication => :login,
:user_name => “username”,

replace “username” with “[email protected]

:password => “password”,

replace “password” with your password for your yahoo account.

I replaced it with the follwing does it look ok ?

As long as your e-mail account is on the yahoo servers, this should do.

Best regards

Peter De Berdt