SMTP error "StartTLS not supported by server or could not initiate session"
SMTP error "StartTLS not supported by server or could not initiate session" | Cloud Platform | Acquia Product Documentation
SMTP error "StartTLS not supported by server or could not initiate session"
Date Published: February 24, 2022
Issue
Email services routed through the SMTP module can encounter a timeout error if the SMTP service is unavailable or using TLS version 1.0.
Example error:
phpmailerException: StartTLS not supported by server or could not initiate session. in PHPMailer->SmtpConnect()
You can test the timeout behavior by SSH'ing into your server to run the following command, replacing the SITENAME with your application's site name and ENV with the desired environment:
Contact your SMTP service to check for any service-related issues, as well as confirm the SMTP server being used has TLS version 1.2 and above. Please note support for TLS version 1.0 is deprecated on the Acquia platform.