MoonPoint Support Logo

 


Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
January
Sun Mon Tue Wed Thu Fri Sat
     
18
19 20 21 22 23 24 25
26 27 28 29 30 31  
2020
Months
JanFeb Mar
Apr May Jun
Jul Aug Sep
Oct Nov Dec


Mon, Sep 05, 2016 10:37 pm

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

Sun, Sep 04, 2016 9:06 pm

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

Once You Know, You Newegg AliExpress by Alibaba.com

Shop Amazon Local - Subscribe to Deals in Your Neighborhood

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo