-
Notifications
You must be signed in to change notification settings - Fork 11
Authentication
Igor Balos edited this page May 21, 2019
·
12 revisions
Each command requires an account or server token depending on the level of access required. Tokens can be passed in as environment variables: POSTMARK_SERVER_TOKEN
and POSTMARK_ACCOUNT_TOKEN
.
$ POSTMARK_SERVER_TOKEN=123 email raw [options]
$ POSTMARK_ACCOUNT_TOKEN=123 servers list [options]
If a token is not supplied as an environment variable, you will be prompted for the server or account token after running the command.
Postmark CLI - manage templates, send email and more