【问题标题】:Jenkins: avax.mail.AuthenticationFailedException: 535 Incorrect authentication data詹金斯:avax.mail.AuthenticationFailedException:535不正确的身份验证数据
【发布时间】:2020-07-06 23:11:11
【问题描述】:

我在我的 VPS (Centos6) 上安装了 Jekins 并进行了以下配置以接收电子邮件通知:

请注意,当我在 localhost (windows) 上使用 jenkins 时,此配置对我有用
当然,我在我的 gmail 帐户中启用了Less secured app 选项
我在这里错过了什么?

【问题讨论】:

    标签: jenkins centos6


    【解决方案1】:

    在您的 centos vps 中,您没有 gmail 主机的中继,因此您可以尝试从您的服务器 smtp.localhost 发送电子邮件通知,端口为 25 且无需身份验证(不要忘记设置您的系统管理员电子邮件,您会在顶部的 Jenkins Location 中找到它)

    【讨论】:

      猜你喜欢
      • 2013-03-28
      • 2021-04-15
      • 2017-10-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-08-07
      • 2016-12-10
      • 2017-05-07
      相关资源
      最近更新 更多