Jump to content


Email test gives "Error: Unable to connect via TLS"

email sparkpost tls

3 replies to this topic

#1 joao.lm

    Member

  • Members
  • PipPip
  • 10 posts

Posted 28 August 2018 - 08:18 PM

Hello, we use SparkPost to send emails and by the end of July they have deprecated TLS 1.0, since then, the emails are no longer being sent.

When I perform a test the following error is returned:
Attached Image: error.png

My email configuration and the general.log are attached.

What can I do to get it working again?

Attached Thumbnails

  • Attached Image: email.png

Attached Files



#2 Patrick Keil

    Administrator

  • Administrators
  • 3631 posts
  • LocationSingen, Germany

Posted 29 August 2018 - 11:45 AM

Hi,

Please try to

replace
STREAM_CRYPTO_METHOD_TLS_CLIENT
with
STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT

in:

livezilla/_lib/trdp/Zend/Mail/Protocol/Imap.php
livezilla/_lib/trdp/Zend/Mail/Protocol/Pop3.php
livezilla/_lib/trdp/Zend/Mail/Protocol/Smtp.php

Does that work?

Cheers.

#3 joao.lm

    Member

  • Members
  • PipPip
  • 10 posts

Posted 29 August 2018 - 12:34 PM

Yes, it works! Thanks.


Will this fix be applied in next updates?

#4 Patrick Keil

    Administrator

  • Administrators
  • 3631 posts
  • LocationSingen, Germany

Posted 31 August 2018 - 11:53 AM

Yes, thanks for bringing this to our attention.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users