Mailgun integration
How to configure sending email using Mailgun
Mailgun is an email delivery service for sending, receiving, and tracking emails. Aidbox offers integrations with Mailgun to simplify sending notifications via email.
Create Mailgun account
You can do that account by following Mailgun Documentation.
Add environment variables to the docker-compose.yaml
You can find more about Mailgun environment variables here.
Creating NotificationTemplate
resource
NotificationTemplate
resourceNotificationTemplate is a resource that stores the body of a mail message.
Creating Notification
resource
Notification
resourceCall notify method
Example of email sent from the template above
Last updated