Computing.Net > Forums > Unix > Unix mail with attachment

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.

Unix mail with attachment

Reply to Message Icon

Name: Binh Le
Date: November 12, 2002 at 08:30:21 Pacific
OS: AIX
CPU/Ram: 400
Comment:

Hi
I would like to email from Unix shell script that will attach all the files in a directory.
(uuencode file1.txt file1.txt; uuencode file2.txt file2.txt) | mail -s "subject line" user1@host.com
This is work great for me at the command line but I like to right a script to do that and it's able to get all the file in a directory and send to an user that will be passed in.
Thanks



Sponsored Link
Ads by Google
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: Unix mail with attachment

Unix mail with attachment and a body www.computing.net/answers/unix/unix-mail-with-attachment-and-a-body/2421.html

how to mail with attachments in command www.computing.net/answers/unix/how-to-mail-with-attachments-in-command-/3319.html

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