Monday, June 27, 2011

Net::SMTPAuthenticationError (504 Authentication mechanism not supported.)

Reason:
Reason for this error is that your server is not supporting the authentication type which your are choosing.
e.g. :authentication => :plain is not supported.

Solution 1:
  • Try changing :authentication => :plain --------> :authentication => :login
Solution 2:
  1. Goto: Settings ->Protocols -> SMTP
  2. Go to tab "RFC Compliance"
  3. Check "Allow plain text authentication" (You can check one or more options according to your requirements)
  4. Now try sending an e-mail
Cheers

Keywords: Actionmailer, ruby,rails, smtp, 504, plain, login, email, hmail,

Thunderbird: Configuration could not be verified - is the username or password wrong

Solution:
  1. Goto "%APPDATA%\Thunderbird" (without quotes)
  2. Delete everything in this folder(Better you cut and paste everything to some other location)
  3. Start Thunderbird
  4. Create a new account
  5. Now it will work

Cheers

Keywords: thunderbird, email, smtp, hmail, server,email-client