Computing.Net > Forums > Unix > shell script for sent e-mail

shell script for sent e-mail

Reply to Message Icon

Original Message
Name: fang_jao_nan
Date: May 9, 2003 at 02:13:33 Pacific
Subject: shell script for sent e-mail
OS: unix
CPU/Ram: -
Comment:

i want to create shell script for sent e-mail.
Help me please.
Thank


Report Offensive Message For Removal


Response Number 1
Name: David Perry
Date: May 9, 2003 at 04:55:40 Pacific
Subject: shell script for sent e-mail
Reply: (edit)

echo "This is the body" | mail -s "subject" user@host.com

uuencode file.tgz file.tgz | mail -s "message with encoded attachment" user@host.com

( echo "More text" ; uucode binary_file binary_file ) | mail -s "message with text and attachment" user@host.com

check the man pages for mail and mailx to see what options are supported by your system.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: shell script for sent e-mail

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software