Public | Automated Build

Last pushed: 3 days ago
Short Description
Send mail from terminal, using postfix
Full Description

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:
      - TO_ADDR=to@addr.ess
      - FROM_NAME=Alpha Beta
      - FROM_ADDR=from@addr.ess
      - SUBJ=subject line
#    command: body context here, only when the body volume is not mounted
Docker Pull Command
Owner
svlentink
Source Repository