简体   繁体   English

Jenkins iOS构建中Office 365的电子邮件通知失败

[英]Email notification for Office 365 in jenkins ios build fails

When I try to build an iOS App with Jenkins , I got the error in Email notification for Office365 but for gmail I am able to get notification. 当我尝试使用Jenkins构建iOS应用程序时,我在Office365的电子邮件通知中收到错误,但对于gmail我可以得到通知。

Error message: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; 错误消息: com.sun.mail.smtp.SMTPSendFailedException:530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM 客户端未通过身份验证以在MAIL FROM期间发送匿名邮件

Can you please help me? 你能帮我么?

The SMTP server you have configured in Jenkins probably allows you to send email within your organisation, but not outside of it (eg to Gmail) , unless you authenticate to the server first. 您在Jenkins中配置的SMTP服务器可能允许您在组织内部发送电子邮件,但不能在组织外部发送电子邮件(例如,发送到Gmail),除非您先向服务器进行身份验证。

Check your SMTP configuration under Manage Jenkins > Configure System > E-mail Notification > Advanced. 在“管理Jenkins”>“配置系统”>“电子邮件通知”>“高级”下检查SMTP配置。

Enable the "Use SMTP Authentication" checkbox and ensure that you have a valid username and password entered. 启用“使用SMTP身份验证”复选框,并确保输入有效的用户名和密码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM