Documentation
Mailing

Postmark

To use postmark with supastarter, first create a postmark account and grab your server token.

Add the following environment variables to your .env.local file and your deployment environment:

POSTMARK_SERVER_TOKEN="your-server-token"

Then, make sure to activate Postmark as the mail provider in config.ts:

export const config = {
  // ...
  mailing: {
    provider: "postmark",
  },
};

To customize the provider, edit the packages/mail/provider/postmark/index.ts.

For further instructions, follow the general mail instructions.

On this page

No Headings