Docker image for sending emails via Mailgun.
If you are sending attachments or inline images, remember to mount them into the container.
$ export API_KEY=xxx EMAIL_DOMAIN=xxx"
$ docker run --rm -e API_KEY=$API_KEY -e EMAIL_DOMAIN=$EMAIL_DOMAIN symfoni/mailgun-send:latest \
--to="[email protected]" \
--subj="Hey!!" "Just wanted to say hi. \
--from="[email protected]" \
--text="Here's the file you wanted; Give me a call!" \
--html="<html><body>Here is the file; <b>Give me a call!</b></body></html>" \
--attachment=/path/to/file
Content type
Image
Digest
Size
32.4 MB
Last updated
almost 9 years ago
docker pull symfoni/mailgun-send