Mails with postmark
To use postmark with nextstarter, first create a postmark account (opens in a new tab) and grab your server token
.
Add the following environment variables to your .env.local
file and your deployment environment:
.env.local
RESEND_SERVER_TOKEN="your-server-token"
Then, make sure to activate Postmark as the mail provider in packages/mail/provider/index.ts
:
export * from './postmark';
To customize the provider, edit the packages/mail/provider/postmark/index.ts
.
For further instructions, follow the general mail instructions.