Jenkins email-ext plugin not sending mail

a 夏天 提交于 2019-12-02 20:52:33

At first you have to create a template http://url-to-jenkins/emailexttemplates/. In the field "Project Recipient List" you can add some emails (comma separated). You can also insert global variables (Manage Jenkins > Configure System > Global properties) with:

${ENV, var="PATH"}

The "Advanced Settings..." option provides a trigger management, just add "Recipient List" and now you should get some emails by Jenkins.

It appears that, in some version Extended E-mail Notification become own SMTP Server configuration. So check your configuration under "Manage Jenkins" -> "Configure System" -> "Extended E-mail Notification" and make sure that fields "SMTP Server" and " Default user E-mail suffix" are filled properly.

Make sure also that the configuration is consistent with "Manage Jenkins" -> "Configure System" -> E-mail Notification.

TL;DR

Fill out fields "SMTP Server" and " Default user E-mail suffix" under "Manage Jenkins" -> "Configure System" -> "Extended E-mail Notification"

Downgrade the email-ext plugin to 2.25

Check if you have SSL enabled under SMTP Auth settings. For me, I was able to see a successful trigger, but email was never sent.

This is a long shot. But chrome was auto filling my SMTP Authentication password, so when I changed any setting and clicked save, the password would also be overwritten.

Hopefully I can save someone else a headache!

Max Alinda

Wasted few days.

Also tried to Downgrade the email-ext plugin to 2.25 but this Doesn't help.

Test mail sended, In Console Log was Sending email to: mymail But stiil have no messages.

I found solution that help me....

I used gmail. So I Verifeid my gmail account via cellphone, than I fill Security Settings and gave Access to my account from unreliable sources.

Then I fill that mail into Use SMTP Authentication in Global Settings.

That worked for me :)

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