what are the settings for action mailer? I have the following settings
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "mail.hhtimesheet.com",
:port => 26,
:domain => "mail.hhtimesheet.com",
:user_name => "support+hhtimesheet.com",
:password => "xxxx"
}
but when i try to send email from rails application i get the following error in the log:
Net::SMTPSyntaxError (504 CRAM-MD5 authentication mechanism not supported
):
/usr/local/lib/ruby/1.8/net/smtp.rb:680:in `check_response'
/usr/local/lib/ruby/1.8/net/smtp.rb:593:in `auth_cram_md5'
/usr/local/lib/ruby/1.8/net/smtp.rb:686:in `critical'
/usr/local/lib/ruby/1.8/net/smtp.rb:592:in `auth_cram_md5'
/usr/local/lib/ruby/1.8/net/smtp.rb:571:in `__send__'
/usr/local/lib/ruby/1.8/net/smtp.rb:571:in `authenticate'
/usr/local/lib/ruby/1.8/net/smtp.rb:411:in `do_start'
/usr/local/lib/ruby/1.8/net/smtp.rb:378:in `start'
/usr/local/lib/ruby/1.8/net/smtp.rb:316:in `start'
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.3.4/lib/action_mailer/base.rb:565:in `perform_delivery_smtp'
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.3.4/lib/action_mailer/base.rb:451:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.3.4/lib/action_mailer/base.rb:451:in `deliver!'
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.3.4/lib/action_mailer/base.rb:333:in `method_missing'