[JIRA] (JENKINS-58813) Cannot send Email notification over office365 smtp with starttls has no effect

2020-04-27 Thread rakeshcse...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rakesh S edited a comment on  JENKINS-58813  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot send Email notification over office365 smtp with starttls has no effect
 

  
 
 
 
 

 
 hi [~gmesika]/[~alecharp],I am working on windows 7 machine, i have configured below but still getting the same error  # extended email notification with smtp.office365.com, unchecked SSl, Port 587 # upgraded mailer plug in to 1.29  # added -Dmail.smtp.starttls.enable=true to JAVA_HOME arguments in jenkins.xml file When I am checking "Test configuration by sending test e-mail" getting error message as "javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful [BMXPR01CA0071.INDPRD01.PROD.OUTLOOK.COM]"!jenkinsError.png!!jenkinsError2.JPG!Attached the screenshots . Could you please help.  Thanks,Rakesh  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201125.1565011288000.18330.1588002420320%40Atlassian.JIRA.


[JIRA] (JENKINS-58813) Cannot send Email notification over office365 smtp with starttls has no effect

2020-04-27 Thread rakeshcse...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rakesh S updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58813  
 
 
  Cannot send Email notification over office365 smtp with starttls has no effect
 

  
 
 
 
 

 
Change By: 
 Rakesh S  
 
 
Attachment: 
 jenkinsError.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201125.1565011288000.18308.1588002360850%40Atlassian.JIRA.


[JIRA] (JENKINS-58813) Cannot send Email notification over office365 smtp with starttls has no effect

2020-04-27 Thread rakeshcse...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rakesh S commented on  JENKINS-58813  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot send Email notification over office365 smtp with starttls has no effect
 

  
 
 
 
 

 
 hi Guy Mesika/Adrien Lecharpentier, I am working on windows 7 machine, i have configured below but still getting the same error  
 
extended email notification with smtp.office365.com, unchecked SSl, Port 587 
upgraded mailer plug in to 1.29  
added -Dmail.smtp.starttls.enable=true to JAVA_HOME arguments in jenkins.xml file  
 When I am checking "Test configuration by sending test e-mail" getting error message as "javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful [BMXPR01CA0071.INDPRD01.PROD.OUTLOOK.COM]"  Attached the screenshots   Thanks, Rakesh  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201125.1565011288000.18323.1588002361194%40Atlassian.JIRA.


[JIRA] (JENKINS-58813) Cannot send Email notification over office365 smtp with starttls has no effect

2020-04-27 Thread rakeshcse...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rakesh S updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58813  
 
 
  Cannot send Email notification over office365 smtp with starttls has no effect
 

  
 
 
 
 

 
Change By: 
 Rakesh S  
 
 
Attachment: 
 jenkinsError2.JPG  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201125.1565011288000.18320.1588002361132%40Atlassian.JIRA.


[JIRA] (JENKINS-58813) Cannot send Email notification over office365 smtp with starttls has no effect

2019-10-29 Thread mesika....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Guy Mesika commented on  JENKINS-58813  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot send Email notification over office365 smtp with starttls has no effect
 

  
 
 
 
 

 
 Has the same issue exactly upgrade the mailer plugin to 1.29  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201125.1565011288000.3929.1572333960295%40Atlassian.JIRA.


[JIRA] (JENKINS-58813) Cannot send Email notification over office365 smtp with starttls has no effect

2019-09-26 Thread to...@sparber.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tommy Sparber commented on  JENKINS-58813  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot send Email notification over office365 smtp with starttls has no effect
 

  
 
 
 
 

 
 This should be fixed with the PR 67 once it is approved, merged and released.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201125.1565011288000.5903.1569497040160%40Atlassian.JIRA.


[JIRA] (JENKINS-58813) Cannot send Email notification over office365 smtp with starttls has no effect

2019-09-23 Thread p...@zot.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Paul Morahan commented on  JENKINS-58813  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot send Email notification over office365 smtp with starttls has no effect
 

  
 
 
 
 

 
 I had exactly the same problem with the same stack trace, same Jenkins version, and same configuration steps, and it required two things to fix it: 1) upgrading the Mailer plugin from v1.24 to v1.28 2) the sysadmin email address MUST match the sending SMTP user. I tried making it another valid user on the same domain, but that didn't work. A lot of people online say that it just needs to be another valid account, but from what I could see, it didn't work until they matched. So now I have a 'noreply' user as the system admin's email address in Jenkins  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201125.1565011288000.3811.1569297420299%40Atlassian.JIRA.


[JIRA] (JENKINS-58813) Cannot send Email notification over office365 smtp with starttls has no effect

2019-09-16 Thread t.krisztia...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Krisztián Gyula Tóth commented on  JENKINS-58813  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot send Email notification over office365 smtp with starttls has no effect
 

  
 
 
 
 

 
 Somehow I got the emails to my inbox now.  I restarted Jenkins and both the host machine several times and updated Jenkins version too. But when I test email configuration by 'Test configuration by sending test e-mail' from Manage Jenkins > Configure System > E-mail notification section. I've got the following error below: 

 

javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful [AM0PR0202CA0008.eurprd02.prod.outlook.com]

	at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:809)
	at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:752)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)
	at javax.mail.Service.connect(Service.java:317)
	at javax.mail.Service.connect(Service.java:176)
	at javax.mail.Service.connect(Service.java:125)
	at javax.mail.Transport.send0(Transport.java:194)
	at javax.mail.Transport.send(Transport.java:124)
	at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:671)
	at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
	at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
	at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77)
	at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
	at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
... 

 My thought was about why the emails arrive despite test fails it's because I use the 'Extended E-mail Notification' plugin in my Jobs but the 'E-mail notification' still looks like not working.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

   

[JIRA] (JENKINS-58813) Cannot send Email notification over office365 smtp with starttls has no effect

2019-08-05 Thread t.krisztia...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Krisztián Gyula Tóth updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58813  
 
 
  Cannot send Email notification over office365 smtp with starttls has no effect
 

  
 
 
 
 

 
Change By: 
 Krisztián Gyula Tóth  
 

  
 
 
 
 

 
 I migrated our Jenkins server from an Ubuntu 16.04 VPS to another 18.04. I installed Jenkins via apt on the new server first and then rsync all the files and config from the old one. Everything looks working fine.But, email notifications not. *  SMTP server : smtp.office365.com * Use SMTP Authentication : checked ** "User name" match with the "System Admin e-mail address" * Use SSL : unchecked * SMTP Port : 587I modified the "/etc/default/jenkins" file, added line * JAVA_ARGS="-Djava.awt.headless=true -Dmail.smtp.starttls.enable=true"But when I try to run "Test configuration" I got the given error message below:"Failed to send out e-mail"h3. {color:# FF ff }StackTrace{color}{code:java}java.net.SocketException: Connection closed by remote host at sun.security.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1547) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:71) at com.sun.mail.util.TraceOutputStream.write(TraceOutputStream.java:114) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2104)Caused: javax.mail.MessagingException: Can't send command to SMTP host;  nested exception is: java.net.SocketException: Connection closed by remote host at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2106) at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2093) at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:1184) at javax.mail.Transport.send0(Transport.java:197) at javax.mail.Transport.send(Transport.java:124) at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:613) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408) at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77) at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676) 

[JIRA] (JENKINS-58813) Cannot send Email notification over office365 smtp with starttls has no effect

2019-08-05 Thread t.krisztia...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Krisztián Gyula Tóth created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58813  
 
 
  Cannot send Email notification over office365 smtp with starttls has no effect
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Adrien Lecharpentier  
 
 
Components: 
 mailer-plugin  
 
 
Created: 
 2019-08-05 13:21  
 
 
Environment: 
 Jenkins ver. 2.187, Ubuntu 18.04  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Krisztián Gyula Tóth  
 

  
 
 
 
 

 
 I migrated our Jenkins server from an Ubuntu 16.04 VPS to another 18.04. I installed Jenkins via apt on the new server first and then rsync all the files and config from the old one. Everything looks working fine. But, email notifications not. 
 
 SMTP server : smtp.office365.com 
Use SMTP Authentication : checked 
 
"User name" match with the "System Admin e-mail address" 
  
Use SSL : unchecked 
SMTP Port : 587 
 I modified the "/etc/default/jenkins" file, added line 
 
JAVA_ARGS="-Djava.awt.headless=true -Dmail.smtp.starttls.enable=true" 
 But when I try to run "Test configuration" I got the given error message below: "Failed to send out e-mail" StackTrace