Email Delivery Service unavailability due to TLS1.0 deprecation by SparkPost


Description

On 23 July 2018, SparkPost deprecated TLSv1.0. This caused Email Delivery Service unavailability for Sitecore XP solutions running on .NET Framework 4.5.2. The attempts by Sitecore XP to make a call to the Email Delivery Service are unsuccessful and an exception is thrown.

This applies to EXM 3.4 — 3.5 versions.

Identification

Prerequisites:

Examples of actions that require connection to SparkPost:

Examples of errors:

The underlying connection was closed: An unexpected error occurred on a send.
Unable to read data from the transport connection:
An existing connection was forcibly closed by the remote host.
Failed to read beginning of SSL/TLS record.

Solution

To resolve the issue, consider one of the following options: