Page 1 of 1

Error connecting SMTP Mail server

Posted: Thu Jul 11, 2024 7:11 pm
by Stamosie
HESK Version
3.4.3

Hello everyone,

We would like to send emails using smtp however I receive the following error when testing the connection.

Error: Failed to start encryption: Connection failed.

2024-07-11 19:04:12 SERVER -> CLIENT: 220 BN9PR03CA0241.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 11 Jul 2024 19:04:17 +0000
2024-07-11 19:04:12 CLIENT -> SERVER: EHLO Devon
2024-07-11 19:04:12 SERVER -> CLIENT: 250-BN9PR03CA0241.outlook.office365.com Hello [69.57.254.150]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250 SMTPUTF8
2024-07-11 19:04:12 CLIENT -> SERVER: STARTTLS
2024-07-11 19:04:12 SERVER -> CLIENT: 220 2.0.0 SMTP server ready

From email and SMTP username are the same. Any help?

Re: Error connecting SMTP Mail server

Posted: Thu Jul 11, 2024 8:07 pm
by Klemen
You are using details from https://www.hesk.com/knowledgebase/?article=93 right?

In that case, the "Failed to start encryption" sometimes means that the SSL handler (OpenSSL) on the server is outdated. Try updating your PHP and server software.