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

Brevo

Schemesbrevo://
Cargo featureservice-brevo
Servicehttps://www.brevo.com/
Body formatshtml, text (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_email}
{schema}://{apikey}:{from_email}/{targets}

{schema} is one of brevo://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{apikey}API Keystringyessecret; must match ^[a-zA-Z0-9._-]+$
{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
replyReply To Emailstring
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):

brevo://abcd:user@example.com
brevo://abcd:user@example.com/newuser@example.com
brevo://abcd:user@example.com?format=text
brevo://abcd:user@example.com/newuser@example.com?cc=l2g@nuxref.com
brevo://abcd:user@example.com/newuser@example.com?to=l2g@nuxref.com
brevo://abcd:user@example.com/newuser@example.com?bcc=l2g@nuxref.com
brevo://abcd:user@example.com/newuser@example.com?reply=Bob%20<bob@example.com>
brevo://abcd:user@example.com/newuser@example.com?cc=l2g@nuxref.com&bcc=l2g@nuxref.com

Rejected URLs:

brevo://
brevo://:@/
brevo://abcd
brevo://abcd@host

Send one from the command line:

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

Notes

Brevo (brevo://): transactional e-mail through the Brevo API.

brevo://{apikey}:{from_user}@{from_domain}[/{to_email}...][?cc=..&bcc=..&reply=..&to=..]

Both an HTML and a plain-text part are sent; the one not given is converted from the other. Without targets the message goes to the sender.