Sign inSign up

mandree95/docker-ssmtp

By mandree95

•Updated about 1 year ago

Docker image that allows sending email to external smtp servers.

Image
0

2.6K

mandree95/docker-ssmtp repository overview

⁠docker-ssmtp

This docker image can be used to send mails to external smtp servers that require authentication. Just call the mail command like in the following example:

$ echo "Message Body Here" | mutt -s "Subject Here" [email protected] -a backup.zip

A mail with the subject Subject Here, Message Body Here as the body and file named backup.zip attached will be sent to [email protected].

⁠Prerequisites/Configuration

Environment VariableExampleDefault valueRequired
HOSTsmtp.gmail.comYes
PORT465Yes
AUTH_USER[email protected]⁠Yes
AUTH_PASSxyzYes
TLSYES (or NO)NONo

Tag summary

Content type

Image

Digest

sha256:3b1901ae6…

Size

13.9 MB

Last updated

about 1 year ago

docker pull mandree95/docker-ssmtp