[Radiant] Problem after switching to production mode
John Aneston
anes_144 at yahoo.com
Fri Dec 1 07:48:43 CST 2006
Sean Cribbs 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 Cribbs
> seancribbs.com
Thanks Sean Cribbs,
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
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list