Removing an email address from a SparkPost suppression list
I use SparkPost to distribute
a newsletter by email for an organization I support. A member of the
organization reported to me that she has not been receiving email copies
of the organization's newsletter, so I logged into the SparkPost account
after this month's newsletter was sent and clicked on Events
on the Dashboard, selected "Last 7 Days" in the Events Search
date range selection field and then put the member's email address in the
"Filter by recipient email address" field and hit Enter. I saw
an "Injection" and a "Bounce" event whereas I would see an "Injection" and
a "Delivery" event for email successfully sent to a recipient. When I clicked
on the View Details button, I found that the email sent to
the member bounced with SparkPost listing the reason as "554 5.7.1 [internal]
recipient address was suppressed due to customer policy." At the SparkPost
page on the problem,
554 5.7.1 — Recipient address was suppressed due to customer policy,
I saw the possible reasons for that bounce message appear listed as those
below:
- The address was invalid (address does not exist)
- The user clicked the list-unsubscribe header
- The user clicked one of your emails and flagged it as
SPAM. This FBL (FeedBack Loop) event should add that email address to your
Suppression List.
[
More Info ]
[/network/email/sparkpost]
permanent link
Checking SparkPost Message Events via the API with Wget
If you are using
SparkPost for email
delivery and wish to check message events, you can view message events
information using the
Wget utility, which is available for Linux, OS X, and Microsoft Windows
systems. The man page for the command on a CentOS Linux
system is
here and the
home page for the utility is at
GNU Wget. Alternatively, for information on how to use
curl, instead, see
SparkPost - Addresses Associated With
Bounced Email.
To download message events information for the last hour using the SparkPost
application programming interface (API) with Wget, you can use a command
similar to wget https://api.sparkpost.com/api/v1/message-events?events=bounce,out_of_band --header="Authorization: my_API_key" --header="Accept:
application/json"
where my_API_key is an API key provided to you
by SparkPost. However, if you haven't granted access to message events for
that key, you will receive a "ERROR 403: Forbidden" error as shown below.
The API key, which in this case is a dummy key, is provided by sending a
custom header that includes Authorization: my_API_key
:
$ wget https://api.sparkpost.com/api/v1/message-events?events=bounce,out_of_band
--header="Authorization: d12cc66a1a29755ef10fc1a1450d96dc23495970" --header="Ac
cept: application/json" --2016-09-04 21:44:34--
https://api.sparkpost.com/api/v1/message-events?events=bounce,out_of_band
Resolving api.sparkpost.com (api.sparkpost.com)... 54.191.102.120, 54.69.65.44,
52.40.18.107
Connecting to api.sparkpost.com (api.sparkpost.com)|54.191.102.120|:443... conne
cted.
HTTP request sent, awaiting response... 403 Forbidden
2016-09-04 21:44:39 ERROR 403: Forbidden.
$
To grant a key permission to access message event data, log into your
SparkPost account at the SparkPost website, then click on Account,
select API Keys and for an existing or new API key check the check box
next to "Message Events: Read-only".
[ More Info ]
[/network/email/sparkpost]
permanent link
SparkPost - Addresses Associated With Bounced Email
If you are using
SparkPost for email
delivery, you might expect that you can determine which email addresses in
a mailing list resulted in bounced messages by logging into the SparkPost
website, clicking on
Reports and then
Bounces. But, though
that will give you a total number for bounced email messages and the
percentage of messages that bounced, and even the reasons email bounced, the
report doesn't identify the individual email addresses that caused email to
bounce. To see particular addresses that caused email to bounce, if you
click on
Lists, rather than
Reports, and then click on
Suppressions and check the check box next to
Bounce Rule and
click on
Search, you will see recipients email addresses listed that
triggered a bounced email.
[ More Info ]
[/network/email/sparkpost]
permanent link