Jenkins email-ext plugin not sending mail

Praveen picture Praveen · Aug 7, 2013 · Viewed 44.1k times · Source

I have Jenkins version 1.480.3 installed on my machine and Email-Extention Plugin 2.30.2.

Test mail from "Manage Jenkins" section works fine. When I add editable email notification to my jobs, I am not receiving it.

Also tried configuring "Triggers" in editable email notification advanced section. That also didn work. Console logs of build shows email has been triggered.

Can someone help me on how to debug this?

Answer

SlashGordon picture SlashGordon · Sep 30, 2015

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"}

enter image description here

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

enter image description here