Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Postmark

Schemespostmark://
Cargo featureservice-postmark
Servicehttps://postmarkapp.com/
Body formatshtml (first is the default)
Attachmentsyes
Title length250 characters
Body length32,768 characters
Body linesunlimited
Request throttle1200 ms between requests
Vendor URLs acceptedno

URL formats

{schema}://{apikey}:{from_email}
{schema}://{apikey}:{from_email}/{targets}

{schema} is one of postmark://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{apikey}API Keystringyessecret
{from_email}Source Emailemailyes
{target_email}Target Emailemailno
{targets}Targetslistnoany of target_email; separated by /

Query parameters

ParameterMeaningTypeDefaultNotes
bccBlind Carbon Copylistseparated by , or space
ccCarbon Copylistseparated by , or space
nameFrom Namestring
replyReply To Emaillistseparated by , or space
toTargetslistsets {targets}
fromSource Emailemailsets {from_email}

The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.

Examples

Accepted URLs (tokens are fake):

postmark://abcd:user@example.com
postmark://abcd:user@example.com/newuser1@example.com
postmark://abcd:user@example.com/newuser2@example.com?name=John
postmark://abcd:user@example.com?format=text
postmark://abcd:user@example.com/newuser5@example.com?cc=cc@nuxref.com
postmark://abcd:user@example.com/newuser4@example.com?bcc=bcc@nuxref.com
postmark://abcd:user@example.com/newuser6@example.com?to=extra@nuxref.com
postmark://abcd:user@example.com/newuser3@example.com?reply=Rep<reply@example.com>

Rejected URLs:

postmark://
postmark://:@/
postmark://abcd
postmark://abcd@host

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'postmark://abcd:user@example.com'

Notes

Postmark (postmark://): e-mail through the Postmark API.

postmark://{apikey}:{from_user}@{from_domain}[/{to_email}...] postmark://{to_email_domain}?apikey=..&from=.. (the host becomes a target) ?name=..&cc=..&bcc=..&reply=..&to=..

Without targets the message goes to the sender.