sendmail/sendmail.sh

18 lines
230 B
Bash
Raw Permalink Normal View History

2020-04-29 09:49:24 +02:00
#!/bin/sh
cat << EOM | /sendmail \
-server-address=${M_SERVER_ADDRESS} \
-server-port=465 \
-user=${M_USER} \
-password=${M_PASSWORD} \
-from=${M_FROM} \
-to=${M_TO} \
-sub="${M_SUB}"
$(date +%Y-%m-%d_%H:%M)
---
${M_TEXT}
EOM