Skip to content

Managing Your Sender Signatures

Andrew Theken edited this page Jan 16, 2015 · 2 revisions

About Sender Signatures:

Postmark requires you to configure "Sender Signatures." Sender Signatures are email addreses that you have verified through a number of different methods. At a bare minimum, when a new Sender Signature is added to your account, a verification email is sent to that address, with a link requesting the recipient to authorize Postmark to send mail on their behalf.

The process of Sender Signature verification is very similar to the normal verification emails you get when you create accounts on websites like Facebook and Twitter. This verification step is helpful in ensuring high delivery rates, and helps to avoid unauthorized parties from impersonating email addresses that they do not "own."

Postmark provides additional protections through industry standard "DKIM" and "SPF" protocols. Using these two systems will improve your email delivery rates when you configure them, however neither is required to manage your sender signatures.

The PostmarkAdminClient allows you to Create, Read, Update, and Delete Sender Signatures.

Creating a Sender Signature:

$adminClient = new PostmarkAdminClient("<account token>");
$signature = $adminClient->
	createSenderSignature("[email protected]", "John Appleseed");

NOTE: You will need to follow the link in the verification email sent to [email protected] in order to start using this sender signature.

Updating a Sender Signature:

$adminClient = new PostmarkAdminClient("<account token>");

$signatureId = 42;
$updatedSignature = $adminClient->
    editSenderSignature($signatureId, "John Appleseed");

Getting a Single Sender Signature:

$adminClient = new PostmarkAdminClient("<account token>");

$signatureId = 42;
$signature = $adminClient->
    getSenderSignature($signatureId);

Getting a List of Sender Signatures:

$adminClient = new PostmarkAdminClient("<account token>");

$signatures = $adminClient->listSenderSignatures();

foreach($signatures->senderSignatures as $key=>$signature){
	echo $signature->emailAddress;
}

Deleting a Sender Signature:

$adminClient = new PostmarkAdminClient("<account token>");

$signatureId = 42;
$result = $adminClient->deleteSenderSignature($signatureId);

Clone this wiki locally