Net::SMTP CRAM-MD5 authentication mechanism not supported

I am testing our webapp on my ISP server (BlueHost) and I get an error
when sending an email with Emailer

development.log

Sent mail:
Date: Mon, 27 Nov 2006 11:12:44 -0700
From: [email protected]_domain.com
To: [email protected]
Subject: Test Site - Activaye your account
Content-Type: text/plain; charset=utf-8

Net::SMTPSyntaxError (504 CRAM-MD5 authentication mechanism not
supported
):
/usr/lib/ruby/1.8/net/smtp.rb:680:in check_response' /usr/lib/ruby/1.8/net/smtp.rb:593:inauth_cram_md5’
/usr/lib/ruby/1.8/net/smtp.rb:686:in critical' /usr/lib/ruby/1.8/net/smtp.rb:592:inauth_cram_md5’
/usr/lib/ruby/1.8/net/smtp.rb:571:in __send__' /usr/lib/ruby/1.8/net/smtp.rb:571:inauthenticate’
/usr/lib/ruby/1.8/net/smtp.rb:411:in do_start' /usr/lib/ruby/1.8/net/smtp.rb:378:instart’
/usr/lib/ruby/1.8/net/smtp.rb:316:in `start’

my config.rb

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => “localhost”,
:port => 25,
:domain => “www.our_domain.com”
:authentification => :login,
:user_name => ‘[email protected]_domain.com’,
:password => ‘me_admin_password’
}
ActionMailer::Base.raise_delivery_errors = :true
ActionMailer::Base.perform_deliveries = :true
ActionMailer::Base.default_charset = “utf-8”

On 27 Nov 2006, at 12:30, Kad K. wrote:

my config.rb

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => “localhost”,
:port => 25,
:domain => “www.our_domain.com”
:authentification => :login,

typo, should be:
:authentication => :login

:user_name => ‘[email protected]_domain.com’,
:password => ‘me_admin_password’
}
ActionMailer::Base.raise_delivery_errors = :true
ActionMailer::Base.perform_deliveries = :true
ActionMailer::Base.default_charset = “utf-8”

Best regards

Peter De Berdt

Peter De Berdt wrote:

On 27 Nov 2006, at 12:30, Kad K. wrote:

my config.rb

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => “localhost”,
:port => 25,
:domain => “www.our_domain.com”
:authentification => :login,

typo, should be:
:authentication => :login

:user_name => ‘[email protected]_domain.com’,
:password => ‘me_admin_password’
}
ActionMailer::Base.raise_delivery_errors = :true
ActionMailer::Base.perform_deliveries = :true
ActionMailer::Base.default_charset = “utf-8”

Best regards

Peter De Berdt

Gott mit uns ! I need a glass refactoring…

thanks Peter !!!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs