Skip to main content

Sending 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.