Usage:
docker run -it --rm -e SMTP_HOST=<YOUR-SMTP-HOST> -e SMTP_USERNAME=<YOUR-SMTP-USERNAME> -e SMTP_PASSWORD=<YOUR-SMTP-PASSWORD> -v ${PWD}/mailer.yaml:/etc/mailer/mailer.yaml jaysinhp/mailer:latest
docker run -it --rm -e SMTP_HOST=smtp.gmail.com -e SMTP_USERNAME=<YOUR-USERNAME>@gmail.com -e SMTP_PASSWORD=<YOUR-PASSWORD> -v ${PWD}/mailer.yaml:/etc/mailer/mailer.yaml jaysinhp/mailer:latest
mailer.yaml file:from_address: [email protected]
to_addresses:
- [email protected]
- [email protected]
subject: "[JOB]Test mail"
message:
>
Sample multiline message
Content type
Image
Digest
Size
30.1 MB
Last updated
almost 8 years ago
docker pull jaysinhp/mailer