sendEmail
sendEmail is a lightweight, command‑line utility used to send electronic mail from a Unix or Linux system. It was originally developed by R. `rsz` at the University of Toronto and is designed to be simple, flexible and scriptable. The core program accepts message text from standard input or a file and delivers it via the local Mail Transfer Agent (MTA), such as sendmail, postfix or exim. The utility can be invoked from shell scripts, cron jobs, or other command‑line programs to automate notifications, alerts or status reports.
sendEmail -f [email protected] -t [email protected] -u "Subject line" -m "Message body"
Options describe the sender (-f), recipient list (-t), subject line (-u), and message body (-m). Additional flags
The program also supports multi‑recipient lists and reply‑to addresses, and can handle headers in RFC 5322 format.
sendEmail is distributed under the BSD license and is often pre‑installed on many Linux distributions, though
By enabling simple email transmission, sendEmail is widely employed in system administration, monitoring solutions, and automated