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
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
Summary: as far as has been my experience: standard unix mail does not provide this functionality. the best you can do is to mail two files mail -s "two files" foo@bar.net < file1 file2 or whatever syntax you ...
Summary: I need to be able to send at least 2 .zip and .exe files as attachements on the command line. So far the only posible solution is using elm version 2.4 but I do not have that version. elm -s"SUBJEC...
Summary: Hi, I did an script to send e-mails with attachments from Unix to Microsoft Outlook using mailx and uuencode commands. It works well for plain text, but I'm having problems with *.gif, *.xls, *.bmp an...