13 Jun
2020
13 Jun
'20
09:11
simplest way to send mail from cron
I'd say that the easiest way to send mail from a box without any small helper programs is this: Adjust for your needs and put in a script and call from cron cat > /dev/tcp/yourserver.tld/25 <<EOF HELO MAIL FROM: dave@howorth.org.uk RCPT TO: dave@howorth.org.uk DATA Hello world . EOF -- /bengan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org