Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins throws "Client does not have permissions to send as this sender"

There is lots of posts with users having same error, but none of them works for me...

I am trying to send email reports in Hudson/Jenkins...

Our mail server uses SSL/TLS, I configured Jenkins for TLS, then I am getting this error:

Client does not have permissions to send as this sender

When I try javamail using code, it sends the email properly. Also, Thunderbird works fine.

Any ideas? Do I need to contact mail server administrators?

like image 399
ATOzTOA Avatar asked Mar 14 '13 08:03

ATOzTOA


2 Answers

Finally got it, thanks to Friso

Had to set my email address in System Admin e-mail address under Jenkins Location.

like image 88
ATOzTOA Avatar answered Oct 09 '22 23:10

ATOzTOA


The email should be changed in three places as below as per version 2.19.4:

Extended E-mail Notification - If using SMTP plugin

Email Notification - SMTP Authentication

Jenkins location - System Admin e-mail address

like image 24
Kuppusamy Avatar answered Oct 10 '22 00:10

Kuppusamy