Jenkins电子邮件通知插件显示错误

发布于 2025-01-18 10:55:07 字数 1975 浏览 2 评论 0原文

我正在尝试激活 jenkiens 电子邮件通知,以便每次工作完成时我们都会收到电子邮件。设置所有必填字段后,我看到以下错误。我还检查了堆栈旧问题,我已经停用了 gmail 的 2 因素身份验证并允许安全性较低的应用程序。任何帮助都会很棒。

javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbt
534-5.7.14 tQUWSlnAppJT7Wy70oFUKXPQ00YVYqjvjHvbaGSAtMnT8Zgm4OEuZwZqYv-bWYaL_ZkuX
534-5.7.14 IeIBEpCCEBvE-HLYDV-q9kMn7bCaZcSEExlRpvIOWygEzzq-xFIUj7td3tW-sLUm>
534-5.7.14 Please log in via your web browser and then try again.
534-5.7.14  Learn more at
534 5.7.14  https://support.google.com/mail/answer/78754 b11-20020a92c56b000000b002c76a618f52sm12049894ilj.63 - gsmtp


    at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:965)

    at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:876)

    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:780)

    at javax.mail.Service.connect(Service.java:388)

    at javax.mail.Service.connect(Service.java:246)

    at javax.mail.Service.connect(Service.java:195)

    at javax.mail.Transport.send0(Transport.java:254)

    at javax.mail.Transport.send(Transport.java:124)

    at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:728)

    at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)

    at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:398)

    at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:410)

    at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:78)

    at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)

我的设置页面图像。

输入图片此处描述

在此处输入图像描述

I am trying to activate the jenkiens email notification so each time job fiish we recive email. After setting all the requried fields I see the following error. I also check Stack old question and I have deactivate the 2 factor auth of gmail and allow less secure application. Any help will be great.

javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbt
534-5.7.14 tQUWSlnAppJT7Wy70oFUKXPQ00YVYqjvjHvbaGSAtMnT8Zgm4OEuZwZqYv-bWYaL_ZkuX
534-5.7.14 IeIBEpCCEBvE-HLYDV-q9kMn7bCaZcSEExlRpvIOWygEzzq-xFIUj7td3tW-sLUm>
534-5.7.14 Please log in via your web browser and then try again.
534-5.7.14  Learn more at
534 5.7.14  https://support.google.com/mail/answer/78754 b11-20020a92c56b000000b002c76a618f52sm12049894ilj.63 - gsmtp


    at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:965)

    at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:876)

    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:780)

    at javax.mail.Service.connect(Service.java:388)

    at javax.mail.Service.connect(Service.java:246)

    at javax.mail.Service.connect(Service.java:195)

    at javax.mail.Transport.send0(Transport.java:254)

    at javax.mail.Transport.send(Transport.java:124)

    at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:728)

    at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)

    at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:398)

    at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:410)

    at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:78)

    at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)

My Setting page images.

enter image description here

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

痴意少年 2025-01-25 10:55:07

很难说到底问题出在哪里,但很明显是授权问题。您可以尝试使用其他邮件服务提供商,看看是否出现相同的错误,并确定是否是您的帐户或插件的问题。

Its hard to tell exactly where the problem is, but its clearly an authorization issue. You could try using another mail service provider to see if you get the same error and determine if it is a problem with your account or with the plugin.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文