:incoming_envelope: Mail events consumer.
Barong Event API Client.
Consume mail events from barong and send emails over SMTP.

Start worker by running command below
$ go run ./cmd/postmaster/main.go
| Variable | Description | Required | Default |
|---|---|---|---|
JWT_PUBLIC_KEY | RSA Public Key for decoding | yes | |
RABBITMQ_HOST | Host of RabbitMQ daemon | no | localhost |
RABBITMQ_PORT | Port of RabbitMQ daemon | no | 5672 |
RABBITMQ_USERNAME | RabbitMQ username | no | guest |
RABBITMQ_PASSWORD | RabbitMQ password | no | guest |
SMTP_PASSWORD | Password used for auth to SMTP | yes | |
SMTP_PORT | Post of SMTP server | no | 25 |
SMTP_HOST | Host of SMTP server | no | smtp.sendgrid.net |
SMTP_USER | User used for auth to SMTP | no | apikey |
SENDER_EMAIL | Email address of mail sender | yes | |
SENDER_NAME | Name of mail sender | no | Postmaster |
Project released under the terms of the MIT license.
Content type
Image
Digest
Size
7.5 MB
Last updated
over 6 years ago
docker pull nexbitio/postmaster