Make jenkins send email via sendmail

I got a nullmailer setting for a third-party SMTP relay. It works well.

How can I tell Jenkins to email him using the sendmail system function ?

I tried setting the SMTP credentials directly in jenkins, but this is a mess with TLS (none of the solutions I tried working with Mandrill)

Thanks.

+6
source share
1 answer

Not sure if sendmail is really a system feature. But if you want to send jenkins notifications via smtp, you need to install https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin and configure the connection in the global jenkins configuration.

-1
source

Source: https://habr.com/ru/post/973863/


All Articles