not able to send testng html report through outlook

9 views
Skip to first unread message

Sreedevi Vasudevan

unread,
Sep 23, 2018, 9:23:24 AM9/23/18
to Jenkins Users

I am using jenkins In manage jenkins >configure system I have configured gmail through ssl and i am getting mail. when i try using outlook i am not getting mail i tried using ssl: SMTP Server: smtp.office365.com SMTP Security: Enable SSL Port: 995 and also tried 465.

but not getting mail. is this because mail can only be recieved if ssl is disabled. then how to configure: While searching through Google I saw to set;

edit file: "/etc/default/jenkins"

sudo vim /etc/default/jenkins

add the line:

JAVA_ARGS="-Djava.awt.headless=true -Dmail.smtp.starttls.enable=true". but etc not present in c >program files>jenkins. error is: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [MA1PR0101CA0012.INDPRD01.PROD.OUTLOOK.COM].
please help

Reply all
Reply to author
Forward
0 new messages