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.

  • Identification

    Prerequisites:

    • Sitecore XP versions 8.2 Initial Release – 8.2 Update-7.
    • Solution running on .NET Framework 4.5.2.
    • Email Delivery Service installed.

    Examples of actions that require connection to SparkPost:

    • Suppression List management.
    • Send Email.
    • Bounce Check.
    • Spam Check.

    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.
  • Option 1:

    1. Install .NET Framework 4.6 or 4.6.1.
    2. Modify the targetFramework attribute of the httpRuntime node in the Web.config file:
      <httpRuntime targetFramework="4.6" ... />

    Option 2:

    Install the following patch (see installation instructions inside the archive): https://sitecore.box.com/s/y6qf6rfu7qkoc4hgk7sxmiaqf14d3fyr

Applies to:

EXM 3.4 - 3.5

July 25, 2018
July 30, 2018

Reference number:

173301