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