Script to send email unix with sendmail

cat << EOF | /usr/sbin/sendmail -t
to:myemail@mysite.com
from:"no reply" (Automated Processor)
subject:My subject
My email body.
EOF

One Response to “Script to send email unix with sendmail”

  1. mark says:

    Hi Andrew,

    Any ideas on best way to inform an external app that a weekly table update has completed so that the apps reports can start?

    Mark

Leave a Reply