XF2 Add-on SparkPost Mail Transport for XF 2.2 2.1.3

virgilio183

Well-known member
☆☆ Special ☆☆
☆ Pro ☆
Master
Joined
May 16, 2021
Messages
25,956
Reaction score
35,597
Points
113
NullCash
628,268
e5e0a0cbb1823.png
This addon has full bounced email and unsubscribed email handling support using the SparkPost Events API - no mailbox required.

Setup

If you haven't already done so, you will need to configure a sending domain for your forum in your SparkPost account. It is highly recommended that you also set up a default bounce domain.

You will then need to create an API key with the following permissions:

  • Events Search: Read-only
  • Transmissions: Read/Write
Once you have your API key, change the Email transport method in the Email options page to "SparkPost" and paste your API key into the supplied box.

d2879754dc3c4.png

Upgrading from XenForo v2.1 and SparkPost Mail Transport v1.x

Because the new version of the Swiftmailer library supplied with XenForo v2.2 is incompatible with the old version in XF 2.1 - care must be taken when upgrading versions to avoid breaking your forum.

In short: upgrade to at least v1.1.0 of the addon first before upgrading to XF v2.2 and then immediately after upgrading to XF v2.2, ensure you upgrade the addon to v2.0.0 or higher.

Configuration

As per the screenshot above - you may configure some transport options when configuring SparkPost.

  • Click Tracking turns on click tracking on all links in emails sent
  • Open Tracking adds a tracking image to all emails sent to track opens
  • Test Mode will append '.sink.sparkpostmail.com' to all recipient email addresses so we can test communication with SparkPost without actually sending any emails to the recipients.
Note that it is highly recommended that you set up a custom tracking domain before enabling click or open tracking.

There is an additional configuration page under the SparkPost Mail option heading:

Compatible XF Versions 2.2
 

Attachments

  • Hampel-SparkPostMail-2.1.3.zip
    3.5 MB · Views: 0
Top