I am trying to setup Outbound email but I keep getting the following issue:
1: SMTP ERROR: Password command failed: 535 5.7.3 Authentication unsuccessful [MN2PR19CA0035.namprd19.prod.outlook.com]
- SuiteCRM version 7.11.6
- SMTP ServerName: smtp.office365.com
- Port 587
- SMTP Auth: Checked
- SMTP Protocol TLS
- The username is the full email address of a user and the O365 password associated with it.
- Multiple users have been tried and passwords have been checked many times.
- The user in O365 has Authenticated SMTP allowed.
3: Connection: opening to smtp.office365.com:587, timeout=300, options=array()
3: Connection: opened
2: SERVER -> CLIENT: 220 MN2PR19CA0035.outlook.office365.com Microsoft ESMTP MAIL Service ready at Wed, 20 Nov 2019 14:49:28 +0000
1: CLIENT -> SERVER: EHLO XXXXX
2: SERVER -> CLIENT: 250-MN2PR19CA0035.outlook.office365.com Hello [2a02:4780:1:8::10]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8
1: CLIENT -> SERVER: STARTTLS
2: SERVER -> CLIENT: 220 2.0.0 SMTP server ready
1: CLIENT -> SERVER: EHLO XXXX
2: SERVER -> CLIENT: 250-MN2PR19CA0035.outlook.office365.com Hello [2a02:4780:1:8::10]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN XOAUTH2
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8
1: CLIENT -> SERVER: AUTH LOGIN
2: SERVER -> CLIENT: 334 VXNlcm5hbWU6
1: CLIENT -> SERVER: ---obfuscated---
2: SERVER -> CLIENT: 334 UGFzc3dvcmQ6
1: CLIENT -> SERVER: ---obfuscated---
2: SERVER -> CLIENT: 535 5.7.3 Authentication unsuccessful [MN2PR19CA0035.namprd19.prod.outlook.com]
1: SMTP ERROR: Password command failed: 535 5.7.3 Authentication unsuccessful [MN2PR19CA0035.namprd19.prod.outlook.com]
3: SMTP Error: Could not authenticate.
1: CLIENT -> SERVER: QUIT
2: SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel
3: Connection: closed
3: SMTP Error: Could not authenticate.