Steps I’ve done:
1. Create an app password in office 365
2. Use smtp.office365.com
3. Use 587 as port
4. Secure sockets mode: Start TLS when available (but basically I tried all)
I always get an error. When using automatic, this is the error:
An error occurred while sending a test email. Please check your email settings. Details: Failed to login to SMTP client to deliver email message to [removed email address] Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond… Inner exception is: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. Reply from SMTP service was '220 AM6PR0202CA0014.outlook.office365.com Microsoft ESMTP MAIL Service ready at Wed, 25 Oct 2017 19:44:33 +0000 EHLO [192.168.1.83] 250-AM6PR0202CA0014.outlook.office365.com Hello [95.96.43.156] 250-SIZE 157286400 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-STARTTLS 250-8BITMIME 250-BINARYMIME 250-CHUNKING 250 SMTPUTF8 STARTTLS 220 2.0.0 SMTP server ready EHLO [192.168.1.83] 250-AM6PR0202CA0014.outlook.office365.com Hello [95.96.43.156] 250-SIZE 157286400 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH LOGIN XOAUTH2 250-8BITMIME 250-BINARYMIME 250-CHUNKING 250 SMTPUTF8 AUTH XOAUTH2 [removed for security] 451 4.7.0 Temporary server error. Please try again later. PRX4 [AM6PR0202CA0014.eurprd02.prod.outlook.com] AUTH LOGIN 334 [removed for security] [removed for security] 334 [removed for security] [removed for security]== '
I can use the same settings on other systems (such as Octopus Deploy).
Hi Geert,
We haven’t be able to reproduce this error, but have implemented a change to our code based on other reports found while researching this issue. We got a few other changes to test, but plan to get a new version out in the next couple of days.
Hi Geert,
Please try version 1.8.1.655 using Start TLS for the secure sockets mode and let us know if you still have any issues authenticating with Office365 SMTP
Works like a charm, thanks!