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

email, jenkins, smtp

Solution

Finally got it, thanks to Friso

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

Problem

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?

Original source