Postmark integration
How to configure sending email using Postmark
Postmark is an email delivery service for sending, receiving, and tracking emails. Aidbox offers integrations with Postmark to simplify sending notifications via email.
BOX_PROVIDER_POSTMARK__PROVIDER_FROM: Sender's Name <[email protected]{{YOUR_DOMAIN}}>
BOX_PROVIDER_POSTMARK__PROVIDER_API__KEY: <api-key>
NotificationTemplate is a resource that stores the body of a mail message.
PUT /NotificationTemplate/notification-template-1
content-type: text/yaml
accept: text/yaml
template: <b>Hello world! Mustache value from Notification.providerData.payload - {{foo.bar}}</b>
PUT /Notification/notification-1
content-type: text/yaml
accept: text/yaml
provider: 'postmark-provider' # Provider id
providerData:
to: [email protected] # Email of recipient
subject: My subject of the message # subject of email
template: # Notification template
id: notification-template-1
resourceType: NotificationTemplate
payload: # Data that can be used in the template
foo:
bar: zaz
POST /Notification/notification-1/$send
Last modified 6mo ago