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

Resend

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

URL formats

{schema}://{apikey}:{from_addr}
{schema}://{apikey}:{from_addr}/{targets}

{schema} is one of resend://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{apikey}API Keystringyessecret; must match ^[A-Z0-9._-]+$
{from_addr}Source Emailemailyes
{target_email}Target Emailemailno
{targets}Targetslistnoany of target_email; separated by /

Query parameters

ParameterMeaningTypeDefaultNotes
apikeyAPI Keystring
bccBlind Carbon Copylistseparated by , or space
ccCarbon Copylistseparated by , or space
fromFrom Addressstring
nameFrom Namestring
replyReply Tolistseparated by , or space
toTargetslistsets {targets}

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):

resend://abcd:user@example.com
resend://abcd:user@example.com/newuser1@example.com
resend://abcd:user@example.com/newuser9@example.com?format=text
resend://abcd:user@example.com/newuser2@example.com?name=Jessica
resend://abcd:user@example.com/newuser8@example.com?cc=l2g@nuxref.com
resend://abcd:user@example.com/newuser9@example.com?to=l2g@nuxref.com
resend://abcd:user@example.com/newuser7@example.com?bcc=l2g@nuxref.com
resend://abcd@newuser4%40example.com?name=Ralph&from=user2@example.ca

Rejected URLs:

resend://
resend://:@/
resend://abcd
resend://abcd@host

Send one from the command line:

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

Notes

Resend (resend://): e-mail through the Resend API.

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

Without targets the message goes to the sender.