Send mail by running this container. You can pass the body with the container as a command or mount a volume (body file).
Example of docker-compose.yml
version: '3'
services:
main:
image: svlentink/mail
volumes:
- /tmp/my_email_body.txt:/body:ro
environment:
- [email protected]
- FROM_NAME=Alpha Beta
- [email protected]
- SUBJ=subject line
# command: body context here, only when the body volume is not mounted
Content type
Image
Digest
Size
88.2 MB
Last updated
over 8 years ago
docker pull svlentink/mail