-
Notifications
You must be signed in to change notification settings - Fork 45
Analyzing Sent Messages
Andrew Theken edited this page Dec 12, 2014
·
2 revisions
You can retrieve Open Events for emails that you send through Postmark with the PostmarkClient
class.
var client = new PostmarkClient("<server token>");
// You may filter on sent messages based on many optional parameters
// In this example, we're getting the first 100 open events for messages
// Sent to "customer@example.com"
var filteredOpenEvents = await client
.GetOpenEventsForMessagesAsync(0,100,"customer@example.com");
var client = new PostmarkClient("<server token>");
var messageId = "sent message id";
var messageDetail = await client
.GetOpenEventsForMessageAsync(messageId);
The Postmark.Net client can be installed from NuGet.
For additional information about the capabilities of the Postmark API, see http://developer.postmarkapp.com/.
- Getting Started
- Version 2.0 Upgrade Guide
- Sending Email
- Searching Sent Messages
- Analyzing Sent Messages
- Processing Inbound Email
- Retrieving Message Statistics
- Handling Bounces
- Managing Suppressions
- Working with Message Streams
- Managing Your Account
- Troubleshooting Async&Await
- Version 1.x Overview
- Sending Email
- Sending Batch Emails
- Sending Attachments
- Sending Inline Images
- Using
MailMessage
- Using the Bounce API
- [Getting Send Statistics](Sending Statistics)
- Adding Custom Email Headers