Test mode
Test keys send nothing and charge nothing, but run the same checks and fire the same webhooks as a live key.
Test mode
Test keys send nothing and charge nothing, but run the same checks and fire the same webhooks as a live key. Send from onboarding@test.honkio.ca without any domain, to these addresses:
| Address | What happens |
|---|---|
| delivered@test.honkio.ca | Delivered. |
| bounced@test.honkio.ca | Hard bounce; the address is added to your suppressions. |
| complained@test.honkio.ca | Delivered, then a spam complaint; the address is suppressed and opted out. |
| delayed@test.honkio.ca | A delivery delay, then delivered. |
| *@test.honkio.ca | Any other address, and any ordinary recipient on a test key, is delivered. |
The magic outcome is read from to only: the first to address that matches one of these local parts decides it. cc and bcc are never inspected, so recipients placed there are always delivered.
Suppression works as it does live: a second send to bounced@test.honkio.ca is refused with EMAIL_SUPPRESSED. Add a label, such as bounced+2@test.honkio.ca, for a fresh address. A live key can't send to test.honkio.ca at all; that is refused with EMAIL_TEST_ADDRESS_LIVE_KEY.
Emails and webhook events from a test key carry livemode false, and each key reads only its own mode's emails, sent and received.
HonkIO