[JIRA] (JENKINS-60391) Sending mail issue with email-ext plugin

14 views
Skip to first unread message

pierre.lemasson@vaillant-group.com (JIRA)

unread,
Dec 6, 2019, 11:08:03 AM12/6/19
to jenkinsc...@googlegroups.com
Pierre Lemasson created an issue
 
Jenkins / Bug JENKINS-60391
Sending mail issue with email-ext plugin
Issue Type: Bug Bug
Assignee: Alex Earl
Components: email-ext-plugin
Created: 2019-12-06 16:07
Environment: JavaMail version: 1.4.4
Jenkins version: 2.190.3
Email Extension Plugin version: 2.68
Mailer Plugin version: 1.29
Labels: plugin jenkins
Priority: Minor Minor
Reporter: Pierre Lemasson

The Email-ext plugin fails to send mail notification after a build. I have the following error: 

"MessagingException message: failed to connect, no password specified?"

I've tried different things regarding existing issue:

  • Send to the Recipient List in the Trigger option
  • Change SMTP port to 25, 465, 587
  • Play with the "-Dmail.smtp.starttls.enable" configuration in jenkins.xml

None of these manage to solve the issue.

However, the test with the basic mailer plugin works perfectly.

Maybe it is stupid, but I think I don't need ssl encryption (working on lan), and that's why I have uncheck "ssl" configuration. Also delete "-Dmail.smtp.starttls.enable=true" in the jenkins.xml.

 

Any ideas ?

 

Environment:

JavaMail version: 1.4.4
Jenkins version: 2.190.3
Email Extension Plugin version: 2.68
Mailer Plugin version: 1.29

 

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

slide.o.mix@gmail.com (JIRA)

unread,
Dec 6, 2019, 11:23:03 AM12/6/19
to jenkinsc...@googlegroups.com
Alex Earl commented on Bug JENKINS-60391
 
Re: Sending mail issue with email-ext plugin

Did you specify a username and password? Without more information about how you have your setup configured, it will be very difficult to help.

pierre.lemasson@vaillant-group.com (JIRA)

unread,
Dec 9, 2019, 2:04:03 AM12/9/19
to jenkinsc...@googlegroups.com
Pierre Lemasson updated an issue
 
Change By: Pierre Lemasson
Attachment: image-2019-12-09-08-03-24-864.png

pierre.lemasson@vaillant-group.com (JIRA)

unread,
Dec 9, 2019, 2:05:03 AM12/9/19
to jenkinsc...@googlegroups.com
Pierre Lemasson commented on Bug JENKINS-60391
 
Re: Sending mail issue with email-ext plugin

Thank you for your answer.

Well no, I have not specify username and password, (I thought I don't need because the jenkins server is accessible in a lan, but I don't know, maybe it's a stupid idea...)

Here is a picture of the plugin configuration (all hidden field are filled with default value):

 

 

slide.o.mix@gmail.com (JIRA)

unread,
Dec 9, 2019, 7:27:02 AM12/9/19
to jenkinsc...@googlegroups.com

Even if it's available on your lab it may still require a username/password. Find out from your IT department.

pierre.lemasson@vaillant-group.com (JIRA)

unread,
Dec 11, 2019, 9:12:05 AM12/11/19
to jenkinsc...@googlegroups.com

I have modified the value of the argument "-Dmail.smtp.auth" in the jenkins.xml, and it seems to work correctly now.

Thank you for your answers

pierre.lemasson@vaillant-group.com (JIRA)

unread,
Dec 11, 2019, 9:12:06 AM12/11/19
to jenkinsc...@googlegroups.com
Change By: Pierre Lemasson
Status: Open Fixed but Unreleased
Resolution: Fixed

slide.o.mix@gmail.com (JIRA)

unread,
Dec 11, 2019, 9:57:02 AM12/11/19
to jenkinsc...@googlegroups.com
Change By: Alex Earl
Status: Fixed but Unreleased Closed
Resolution: Fixed Not A Defect
Reply all
Reply to author
Forward
0 new messages