Tyrone I am having a problem with acymailing and outlook I have followed thew documentation and setup the app in azure and it authenticates correctly but I still get an error when sendin or even sending a test: the error is: Error sending message Test e-mail from https://homeofhope.co.za/ to tyrone@netwisemm.co.za SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting 2022-07-12 10:30:08 CLIENT -> SERVER: EHLO homeofhope.co.za 2022-07-12 10:30:08 CLIENT -> SERVER: STARTTLS 2022-07-12 10:30:08 CLIENT -> SERVER: EHLO homeofhope.co.za 2022-07-12 10:30:08 CLIENT -> SERVER: AUTH XOAUTH2 dXNlcj1mdW5kcmFpc2luZ3N1cHBvcnRAaG9tZW9maG9wZS5jby56YQFhdXRoPUJlYXJlciBFd0JJQStsM0JBQVVGeUN0KzdOOWtoc1lsZXF4UnBxZ3VIVmRGM01BQWR5VXdyeDVIa2tXQWh5eEZTN0tZd0MxK3lOeEN1SWVFRi9GS1JYaC9zK2VMd2FIMDFLODdNTGpZYXQzejY5YXBPV3pTQXN0NjVQSGZHNlJLUE1ieTBhdGpYRTAvQ1dTYlJ3MWljU3pFLzZVYmxadDRtTWNXMFR2Wkw4TEdBT1ZjeDJkUUQyU0t2N2RxWmE2aEsvM3NNbmNKUlQrT2FiYlFqZlNIdmNqWm1oTENYOHk1OXFBcVRKQ290UDJUQndySjY4d2NkZ1FiVDA3K1NhZHRMWkZTMDk2NVBleUMxaUF0L0oxM1N5NmJWeGhwLzQ4SHNydzRjZlFvZ2MwUit2U29CeE9tYy9oVzFpelFNWTVCQUlYcGplOXpmRzFJU253UzlsY3UwcUQyS2FCa1l6RWM2T3dNVm5wNGZCL0Z3NG5Fdk1zcGJ6QlpDVTErYTl4c2VUeXozd0RaZ0FBQ0tTV1lIWm4rUndLR0FLV2hlZzBaWCtvZlZQTitUaElIaGNpSEJMdkdOeE82RzRqMlA4TE5BTmRGdlc2VmZOcHM5eWpaTUVZR3hkZUxwd1ZJTEM5dFI4SUlZMjhFcEVuazdHOFNHcXJ0dDJRaWhPTndlTkhFV2l5eWNJQjduNWZPK0VnYTl4QlZvaG9KYUV5ZFJzMG5Mb0dBTGxuL1RNWFprbjV6SVBmWEZmM3FhMVV3VDVUeitPaU40Zm1JVmZlTXdSYmVpcElFUzkwb01rRVZ5V1dGMmxNNkNtRXczcWIrTkdiaEx4L0MxdEJDSmlENjZuYStxSDZCeUlqYlZCazZVVjhOR0E5SXAyVjBEWllGUXVWc0FRKy94RC9UdjM3Vnl4MCtGQ1hnOS9JanJHZWQrQy9GaXZVcHNKWEx4clA3ekNEQU1IT3BpQW5la2czQUJFUmx3K1lBcEF0Wks4N1JjRGpra1NoYW82NlFWZWh1c0RUNk9aN2hZaDAzSnBpSzk1ellxTXJLamk5bTZGck5zdTZNV2pYa2prZGRuRUQzNmF1NjR5dFhxZDVESkhnZEhaalVPQm5qVUdNcmtvZGp0ZlZ1aXNnRFllNEhUc21iZVY2cjNyaUt2aXdKV0FSSy9uenh2UEVrVDZmdk1yNmd5bExoU3gyQlBsOWR0bUVGek5obTNsbUtJTmJMZ2YveEtlelh0UmtGaVFtMDA3NEJPMVFZUTRQRiszM1EySTEvQnM3ZHBtRmlGbXV4WXBUb04xRVBWR05JcTZFc2R5T3Z5QmQyWGQrd3JldWg3b2tvaDU4eTIxSGVybFYzbkY3TXI1WXZ3ajM2ZWdqaTQ3UzBObU9sN0J3c05NY3BVOG5NZC96dWxrUTZSeTZYQXdRTnVzS21oK1dzZ202cmhkYUZkbHhoK1RQZjkvMFZCSjhVV0VjYWFNb0F3QkZDNmUyTmkwd3Racm9oRWNDAQE= 2022-07-12 10:30:18 SMTP ERROR: AUTH command failed: 535 5.7.3 Authentication unsuccessful [JN2P275CA0022.ZAFP275.PROD.OUTLOOK.COM] 2022-07-12 10:30:18 CLIENT -> SERVER: QUIT Has anyone got any ideas how to solve this
mrandras Tyrone One has to make sure that sender account is the same as the one your browser logs you in (to M365) when authenticating the OAUTH connection. I had the same error message at this solved it. You might wanna do it in incognito mode;-)
jvstratum Hi, I noticed you also raised a support ticket for this, so let's continue from there. Please be so kind to post your questions only once, either as a support ticket or here in the forum. Thank you for understanding!
mrandras I also just raised a ticket, having a similar problem. Outlook365 smtp not sending after Azure app registration became neccessary. This is the error message: Called RSET without being connected