Sign inSign up

svlentink/mail

By svlentink

•Updated over 8 years ago

Send mail from terminal, using postfix

Image
0

1.3K

svlentink/mail repository overview

⁠mail

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

Tag summary

Content type

Image

Digest

Size

88.2 MB

Last updated

over 8 years ago

docker pull svlentink/mail