Step 1. Account Setup
If you do not have an account with Postmark yet, create an account here.
Next, you will need to verify the email address you send from, in the Signatures section. You can also try Postmark’s sandbox mode initially. Their free plan offers 100 free emails/day. More details on the Sandbox here.
Step 2. Postmark Integration in Raven
|Your verified “From” email address|
|“From Name” of your emails. You can also pass this in the Send Event API. Check the Advanced section below.|
|Your Server API Token. To get your API token, check here.|
|Transactional or Broadcast (Bulk). See which message stream to use here.|
|Reply email address. You can also pass this in the Send Event API. Check the Advanced section below.|
We currently only support sending emails via the Postmark REST API and not the SMTP interface.
Step 3. Delivery Reports
Follow the steps to setup delivery reports:
- On the Raven dashboard, once you successfully add the Postmark Integration, you will see it in the “Live” tab. Go to the Live tab, and click on Postmark Email. You will see a URL as Status Webhook, present in the integration. Copy this URL.
- Login to Postmark and go to Webhook tab. Follow the steps mentioned here.
- Paste the Status Webhook URL copied in Step 1.
Send additional parameters to Postmark
Raven will send the fields present in the Email template to Postmark by default. Additionally, you can send “cc”, “bcc”, “From Name”, “Reply-to” fields in the Send Event API. This will override the fields added in the Integration. Please check our Override doc here.
You can control access to Postmark by specifying Raven’s IP address, or make sure Raven’s IP addresses are not blocked.
IPs: 18.104.22.168, 22.214.171.124