Setup
web/.env
- Sign up for Resend and get your API key
- Generate your Email API Security Token by running:
- After that, go to Domains -> Add Domain, set your DNS records and verify your domain.
It is highly recommended to set up _dmarc for your domain to avoid emails going to spam.
Usage
LaunchIt usespackages/mail
for sending emails. You can find the templates in packages/mail/emails
.
To test your emails, you can use the following command:
Images from mails sent from localhost probably won’t be shown as local urls are blocked by some email clients like Gmail.