Test emails
Send one email from a verified domain to an address of your own, and see what happened to it: whether the receiving server took it, its reply and codes, or why it was refused. It is the quickest way to check a new domain end to end. In the portal it is Test mail in the sidebar, or Test this domain on a domain's page: there it sends Postilio's sample message from that domain once it is verified, or while it has been failing for less than 72 hours, and shows the last test from it.
Who can get one
A test email goes only to an address of your own, never to anyone else:
- a member's address: any active member of your organization, no confirmation needed;
- a confirmed address: under Test mail in the portal you add an address, such as a personal Gmail or Outlook mailbox; Postilio mails it a link, and the address can get test emails once someone opens that link (within 24 hours, once). The mail with the link only names the address itself. The address stays yours: in the portal only you send test emails to it, and it stops counting when you leave the organization. Through the API, a project's keys may send to any address a member of the organization confirmed in that project.
Any other address answers 422 test_recipient_not_confirmed, and nothing is sent.
Through the API
POST /v1/emails/test (scope emails:send) sends one test email. Without subject, text and html it sends Postilio's sample message; with them, your own (a subject and text, html or both):
curl https://api.postilio.eu/v1/emails/test \
-H "Authorization: Bearer $POSTILIO_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "no-reply@mail.example.com",
"to": "ada@example.org"
}'
The answer is 202 with the message's id:
{ "id": "01a10ce5-a09a-788b-9243-d7c9c59773d2" }
Follow it with GET /v1/emails/{id}, as any message (see Sending email); its via is test_mail, and the message log lists it as a test email. A test key (pk_test_) sends nothing for real, here too.
Limits
A project sends at most 10 test emails per UTC day, from the portal and the API together; over that the answer is 429 test_mail_daily_limit_reached with a Retry-After until midnight UTC. A test email that is refused uses up nothing. Otherwise a test email is a send like any other: it counts towards your usage, and the sandbox, your plan's and the project's limits, paused projects and the message size apply, with the same errors. In the sandbox, a confirmed address outside your organization's verified domains is still refused (422 sandbox_recipient_not_allowed).
What Postilio can and can't see
Postilio sees what the receiving server answered: delivered, deferred or refused, with its reply, the enhanced code and reason. It can't see what the mailbox then did with the message: whether it went to the inbox or the spam folder, and how the receiver judged SPF, DKIM and DMARC. Only the mailbox shows that. Open the test email there and show its original or its headers:
| Mailbox | Where |
|---|---|
| Gmail | More (⋮) next to Reply → Show original: a table at the top lists SPF, DKIM and DMARC. Only in a browser, not in the app |
| Outlook.com, Microsoft 365 | More actions (…) → View → View message details |
| Yahoo Mail | More options (…) → View Raw Message |
| iCloud Mail | More (…) → Show All Headers; in Apple Mail on a Mac, View → Message → All Headers |
| Proton Mail | More (⋮) → View headers |
| GMX, WEB.DE | the (i) symbol in the message (GMX), or ⋮ → Mehr Informationen (WEB.DE) |
| Fastmail | Actions → Show raw message |
Look for the Authentication-Results line: spf=pass, dkim=pass and dmarc=pass mean the receiver accepted your domain's setup. Menus change now and then; the labels are as of October 2026.
The portal can read that line for you: paste the headers, or the whole original message, under How did it arrive? on Test this domain or Test mail. Your browser reads the top Authentication-Results and shows SPF, DKIM and DMARC, and whether each matches your domain; nothing you paste is sent to Postilio or kept. When the top one comes from a server that forwarded the message and changed it, it says so: that is most likely not your DNS.