What is the “plain” authentication_type in mailer?

时光怂恿深爱的人放手 提交于 2019-12-11 18:07:44

问题


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.)


回答1:


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."



来源:https://stackoverflow.com/questions/12765983/what-is-the-plain-authentication-type-in-mailer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!