It is easy to send a text file as the body of an email from UNIX. You can do it using the command below -
?View Code BASHmail -s "Email with file as body" email@domain.com < message.txt
Now if you want to send a file as an attachment, you would need to use uuencode piped to mail. [...]







Recent Comments