How to send test emails
During development, it’s important to test different deliverability scenarios.Example: When an email hard bounces or is marked as spam, it’s important to stop sending emails to the recipient, as continuing to send emails to those addresses will damage your domain reputation. We recommend creating a webhook endpoint to capture these events and remove the addresses from your mailing lists.When testing, avoid:
- sending to fake email addresess
- setting up a fake SMTP server
+
symbol (e.g., delivered+label1@resend.dev
) to help track and differentiate between different test scenarios in your application.
Test delivered emails
To test that your emails are being successfully delivered, you can send an email to:Test bounced emails
To test that the recipient’s email provider rejected your email, you can send an email to:Test “Marked as Spam” emails
To test that your emails are being received but marked as spam, you can send an email to:Using labels effectively
The labeling feature allows you to use any string as a label after the+
symbol. This is particularly useful for:
- Testing different email flows (e.g.,
delivered+signup@resend.dev
,delivered+password-reset@resend.dev
) - Tracking webhook responses for specific test scenarios
- Differentiating between multiple test runs
- Matching responses with the specific email address that triggered the event