I has used this to send mail from scripts. It uses the mh send command. /usr/bin/mh/send filename
The file must contain a To: field with the email address for example here is the file I mail from my backup script. --------------Beginning of the example file To: procario Subject: Backup done. Copy it to zip. ------- The weekly backup has been done. Please copy from /home/backups to a zip disk and then delete it. --------------End of the example file With the command line given above the file should live ~/Mail/drafts so that send can find it. It may be possible to put the file elsewhere but I have not tried that.