Problem after switching to production mode

Hi guys,
On development mode the contact-us form worked fine on radiant after
switching to production mode i get an error message like this…

“Error encountered while trying to send email. 554-xx.xx.xx.xx has not
been authenticated to relay mail 554 Connect to your mailbox before
sending mail via this relay”

note:
i have changed the ip to xx

any suggestion…

regards
john aneston

Sean C. wrote:

Make sure you have the same ActionMailer settings in your
config/environments/production.rb as in
config/environments/development.rb.
They should look something like this:

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => “yoursmtpserver.com”,
:user_name => “yourlogin”,
:password => “yourpassword”,
:authentication => :plain }

The error that you got seems to imply to me that you need to provide
login
credentials to your SMTP server, so make sure that the :user_name,
:password, and :authentication properties are set correctly. The
:authentication property can have values of :plain, :login, :cram_md5.

Cheers,
Sean C.
seancribbs.com

Thanks Sean C.,

as you mentioned, i did not configure the production.rb file there was
the problem, it checked for the authentication which was not found
there… Now it works fine thanks for the timely help…

regards
john aneston

Make sure you have the same ActionMailer settings in your
config/environments/production.rb as in
config/environments/development.rb.
They should look something like this:

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => “yoursmtpserver.com”,
:user_name => “yourlogin”,
:password => “yourpassword”,
:authentication => :plain }

The error that you got seems to imply to me that you need to provide
login
credentials to your SMTP server, so make sure that the :user_name,
:password, and :authentication properties are set correctly. The
:authentication property can have values of :plain, :login, :cram_md5.

Cheers,
Sean C.
seancribbs.com