What are the SMTP details / API Tokens I should be using?

Transactional Message Stream

  • Server — smtp.postmarkapp.com
  • Ports — 25, 2525, or 587
  • TLS — TLS is available via the STARTTLS SMTP extension. This establishes an encrypted connection to our SMTP server, and all API Tokens and content are encrypted while they are transmitted to us. We recommend you use TLS if possible.
  • Username/Password — Use the Server API token which is found in your Postmark account by going to Server > API Tokens. The Server API token is unique for each Server you create in Postmark.

Broadcasts Message Stream

Sending Broadcast messages is an early access feature enabled on approved accounts. For existing customers, please get in touch to tell us more about the Broadcast messages you plan to send.

  • Server — smtp-broadcasts.postmarkapp.com
  • Ports — 25, 2525, or 587
  • TLS — TLS is available via the STARTTLS SMTP extension. This establishes an encrypted connection to our SMTP server, and all API Tokens and content are encrypted while they are transmitted to us. We recommend you use TLS if possible.
  • Username/Password — Use the Server API token which is found in your Postmark account by going to Server > API Tokens. The Server API token is unique for each Server you create in Postmark.
  • Header — X-PM-MESSAGE-STREAM: <stream-id>

For more information on using SMTP, please review our developer docs.

If you are using Postfix to send through Postmark you can follow our Instructions for getting set up in our guide Can I configure Postfix to send through Postmark?

Last updated August 24th, 2020

Still need some help?

Our customer success team has your back!