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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

shell script for sent e-mail

Reply to Message Icon

Name: fang_jao_nan
Date: May 9, 2003 at 02:13:33 Pacific
OS: unix
CPU/Ram: -
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: May 9, 2003 at 04:55:40 Pacific
Reply:

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.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: shell script for sent e-mail

shell script for string encryption www.computing.net/answers/unix/shell-script-for-string-encryption/7406.html

E-mail attachments for base64 files www.computing.net/answers/unix/email-attachments-for-base64-files/6316.html

Shell script for network test www.computing.net/answers/unix/shell-script-for-network-test/7976.html