Setup email system
For sending emails, we use Resend
Create an account
Go to Resend and create an account.
Get your API key
Get an API key from API Keys - Resend and paste it in the .env
/.env.dev
file
env
RESEND_API_KEY=your-api-key
Setting up the domain in Resend
- Go to Domains - Resend
- Add your domain
- Add the proper DNS records to your domain on your DNS provider :
- MX record
- 2 TXT records
- an optional TXT record (for DMARC)
- Verify the domain
- Add the proper DNS records to your domain on your DNS provider :
- Create an api key for the domain
Add the domain to the .env
/.env.dev
file
env
RESEND_DOMAIN=your-domain
Now TriggerMeNot is ready to send emails!
TIP
DMARC is optional but recommended, it helps to prevent email spoofing.