Hi… And yes I know.
First off, the error message I am getting back is:
Failed to authenticate password. Error: 550 5.7.67 TLS 1.0 and 1.1 are not supported by your organization. Please contact your administrator. [AM6P191CA0002.EURP191.PROD.OUTLOOK.COM]
It is interesting as the Web server sending it only has TLS 1.2 installed, and IT have confirmed that on their side they only have TLS 1.2 too.
What is more interesting, is I use exactly the same details and fire them off through a standalone PHPmailer setup on the same hosting environment, and that connects without issue. So the issue does appear to be related to EE’s implementation and this SMTP connection.
Note, I get the same error connecting from the currently live EE on EE3x and the updated version that is to be launched on EE6x
I know the settings to be correct based on PHPmailer, and I have the right settings within EE based on documentations and the EE-Uni article (and 100’s of sites I have previously setup with EE).
So does anyone have any experience of this specific error, or stupid gotchas you have seen before?
Thanks, N
Okay, found out… Outlook side they force TLS1.2 and Hosting side the force TLS1.2 however they use a different stream definition.
In: system/ee/legacy/libraries/email.php Line - Approx 1708
Change: $crypto = stream_socket_enable_crypto($this->_smtp_connect, true, STREAM_CRYPTO_METHOD_TLS_CLIENT);
To: $crypto = stream_socket_enable_crypto($this->_smtp_connect, true, STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
The error message you shared indicates that the SMTP connection is having problems with TLS 1.0 and 1.1 that are not supported by your duck life organization. It should be noted that the error message originates from the Outlook.com mail server.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.