SMTP Auth Failing as Anonymous

Hi there, 

Trying to config Jira to send SMTP via O365 (Exchange) - Can verify that the connection to the server is successful, but when Jira tries to send test mail, it's being rejected by the server, because it says Jira's trying to send anonymous: 


DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: need username and password for authentication
DEBUG SMTP: protocolConnect returning false, host=smtp.office365.com, user=jira, password=<null>
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.office365.com", port 587, isSSL false
220 CY4PR18CA0032.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fri, 19 Jan 2018 05:52:01 +0000
DEBUG SMTP: connected to host "smtp.office365.com", port: 587

its showing user=jira, password as <null> - which is NOT what's setup in the SMTP config.

Notification schema is set to default, which is suppose to take the creds entered in the SMTP setup dialogue. doesn't seem to be happening. 

I've tested the correct account with O365 and it seems to be working fine. 
Could use a little help. :-)

TIA, 
JC

1 answer

0 votes

Hi John,

From the following based on what you have posted here:

DEBUG SMTP: protocolConnect returning false, host=smtp.office365.com, user=jira, password=<null>

It seems like the password is null as you have mentioned. Something might have gone wrong with the configuration. What if you just delete the Outgoing Mail configuration on JIRA and reconfigure it again? Do you have the same error?

Cheers,
Moga

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

559 views 2 15
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot