Get started
Test mode
Exercise delivered, bounced, complained, delayed, and rejected events with Ternwire test-mode recipients.
On this page
Ternwire test mode simulates email outcomes through the application pipeline without contacting real inboxes or consuming paid sending usage. Use it to check message status, webhook handling, and recovery behavior. It does not measure real-world deliverability, inbox placement, or provider latency.
Choose the event you want to exercise
Submit with an em_test_ API key and one of these exact addresses. The sender must be on a domain that shows Verified. Test mode works on every plan, including Free, and a test key still works while live sending is paused for review.
| Event | Recipient |
|---|---|
delivered | delivered@events.ternwire.test |
bounced | bounced@events.ternwire.test |
complained | complained@events.ternwire.test |
delayed | delayed@events.ternwire.test |
rejected | rejected@events.ternwire.test |
Do not add plus-address tags to these recipients. Use a new idempotency key when you change the target event, because reusing a key with a different recipient is a conflicting request.
Use these addresses only with a test key. A live key can accept them as real submissions and consume live usage.
Check the whole integration
- Send a message using the quickstart and save the accepted ID.
- Poll the message endpoint until the expected recipient event appears.
- Verify your webhook receives the same message ID and handles the event idempotently.
- Replay a webhook attempt to check that a duplicate event does not create a duplicate action in your application.
A test-mode bounce or complaint is synthetic. Use the outcome to test your application logic, not as evidence that a real recipient has complained or that a domain is ready for production.
Test mode and the dashboard test-email form
The dashboard's Send test email form sends a real message using live sending access. It is separate from API test mode and can consume live usage. To simulate an outcome without a real inbox, use a test API key and a reserved recipient through the API.
If the API refuses the email, check the key mode, that the domain shows Verified, that the key belongs to the domain's workspace, and the request fields. Test mode does not bypass every acceptance check. See Errors for what each error code means.