Welcome Guest | Login

Sending mail in development configuration

Hi,

I would like to test mail sending in my local dev environement using my hostingrails account.

my dev config file :

ActionMailer::Base.delivery_method = :smtp

ActionMailer::Base.smtp_settings = {
   :address => "mail.xxxxxxx.org",
   :port => 26,    
   :authentification => :plain,
   :user_name => "xxxxxxxxx",
   :password => "xxxxxxxxxx"
   }

THe errror I get :
504 CRAM-MD5 authentication mechanism not supported

can anybody help me?

thanks
jef

2008-08-28 05:12 AM

Hi Jeffguzzi,

I could see a typo in your action mailer settings. It is authentication and not authentification. You can try the following settings.

ActionMailer::Base.delivery_method = :smtp

ActionMailer::Base.smtp_settings = {
  :address => "mail.xxxxxxx.org",
  :port => 25,    
  :authentication => :login,
  :user_name => "xxxxxxxxx",
  :password => "xxxxxxxxxx"
  }

2008-08-28 05:59 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!