Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个简单的脚本,可以通过 ruby 中的 gmail smtp 服务器发送邮件,现在我必须将脚本移动到 Microsoft Exchange 服务器,并且我不断收到上述错误,请我需要帮助,谢谢,
我已经从 irb 尝试了以下内容,但也因上述错误而失败:
Net::SMTP.start('your.smtp.server', 25, 'mail.from.domain','Your Account', 'Your Password', :login)
基于谷歌,您必须启用基本身份验证才能使用您的脚本:
http://social.technet.microsoft.com/Forums/da-DK/exchangesvradmin/thread/0abab2e0-e8ca-4e07-a095-ca4f55015884