-
Notifications
You must be signed in to change notification settings - Fork 46
Searching Sent Messages
Andrew Theken edited this page Jan 22, 2015
·
4 revisions
You can search for messages that you have previously sent using Postmark with the PostmarkClient
class.
var client = new PostmarkClient("<server token>");
var matchedSentMessages = await client
.GetOutboundMessagesAsync(
0, 100, "[email protected]", "[email protected]",
"onboarding-message", "Welcome to the best service ever!");
var client = new PostmarkClient("<server token>");
var messageId = "sent message id";
var messageDetail = await client
.GetOutboundMessageDetailsAsync(messageId);
var client = new PostmarkClient("<server token>");
var messageId = "sent message id";
var messageDump = await client
.GetOutboundMessageDumpAsync(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