> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mailofly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send Test Emails

> Safely test your email templates and integration without sending to live users.

# Send Test Emails

During development and staging, you can send test emails to preview rendering across different devices and email clients.

***

## Safe Testing Addresses

When testing against your production or staging environments:

1. **Your Own Address**: The safest method is sending test emails directly to an address you own (e.g. `yourname@gmail.com`).
2. **Mail-Tester / Litmus**: Send to inbox testing tools to verify DKIM, SPF, and rendering compatibility before launching large broadcasts.
3. **Draft / Sandbox Mode**: By passing a custom header `X-Mailofly-Dry-Run: true`, the API validates the payload, DKIM setup, and template rendering without actually transmitting SMTP packets over the internet.

***

## Example: Triggering a Test Email from the Dashboard

1. Navigate to **Templates** or **Broadcasts**.
2. Open the draft template you wish to test.
3. Click the **Send Test** button in the top right header.
4. Input your test email address and custom variable JSON (e.g. `{"first_name": "Test User"}`).
5. Click **Send Test**. The message arrives in your inbox within seconds.


## Related topics

- [mailofly.dev Domain Error](/guides/domains/mailofly-dev-domain-error.md)
- [CLI](/cli/index.md)
- [Send Email](/api/emails/send-email.md)
- [Send Batch Emails](/api/emails/send-batch-emails.md)
- [Introduction](/api/index.md)
