What is the "plain" authentication_type in mailer?
Asked Answered
S

1

1

Looking at the Rails Guides for action mailer, what does the "plain" authentication_type mean in the action mailer smtp_settings?

Does it mean that my password will be sent in the clear? (If it helps, I am using gmail as the smtp provider.)

Semidome answered 7/10, 2012 at 3:50 Comment(0)
M
2

According to this article "although the keyword PLAIN is used, the username and password are not sent as plain text over the Internet - they are always BASE64 encoded"

However "One drawback using the PLAIN authentication mechanism is that the username and password can be decoded quite easy if somebody monitors the SMTP communication. To obtain higher security an authentication mechanism with the name CRAM-MD5 can be used instead."

Mellicent answered 7/10, 2012 at 8:13 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.