Status: Reopened (View Workflow)
Environment:Windows 7 platform (64 bit). Jenkins version 2.88. Oracle JRE 8.0_151, running Jenkins directly, using Chrome web browser (62.0.3202.89).
mailer plugin (1.20)
I have scoured the internet for solutions to this particular issue, but none of the suggested solutions solves the problem. I have also looked at the same issues raised here in the Jenkins Jira.
The smtp.office365.com site is using TLS on port 587.
This is what has been attempted to date. In Jenkins System Configuration for E-mail Notification. The MyName@mydomain.com represents a valid user in the mailing system.
(Invalid user or password results in Authentication error instead of what is reported below)
This gives the identical results mentioned in the first testing attempt.
As mentioned on Stack OverFlow and the Jenkins Jira issues, I have even added the following to jenkins.xml with the same results.
Note, on this same machine, I can use a Powershell Send-MailMessage command which succeeds in its intended operation. This at least tells me that the account, port and SSL usage are all appropriate settings. ($mycred holds MyName@mydomain.com and Password)