why is authentication: 'plain' the default setting for actionmailer in rails (with gmail smtp)?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 06:48:09
tbenst

Derek Hill wrote a nice response to this question here: What is the "plain" authentication_type in mailer?

But I found this question more easily on google, so reposting.

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

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