![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| attach multiple files in email | mgirinath | Shell Programming and Scripting | 2 | 04-23-2008 11:55 AM |
| Sending an email with more than one files | thambi | Shell Programming and Scripting | 7 | 05-25-2007 10:52 PM |
| Sending mutiple files thru email to lotus notes | lapisguy | Shell Programming and Scripting | 4 | 04-16-2007 07:28 PM |
| sending email | vasikaran | UNIX for Dummies Questions & Answers | 1 | 07-05-2005 06:50 AM |
| Sending email | bcheaib | UNIX for Dummies Questions & Answers | 7 | 02-22-2005 09:03 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Sending Multiple Files through email
Hi Everyone,
I’m using the uuencode command with the mail command to send out emails through a UNIX script. The problems is that i have a number of gif files that i need to attach to a single email but the number and name of the gif files is not static. Example today the folder home/Desktop may contain 1.gif 2.gif 3.gif but tomorrow it may contain 3.gif sfsdf.gif vbgcvb.gif So that only thing that is constant is that all the files have a gif extension. Im trying to use a single line command that will enable me to send all the gif files in the current folder: uuencode home/Desktop/*.gif "many gif files" | mailx -s "GIf files" me@yahoo.com does anyone know how to do this? Unfortunately zipping the files before adding them as an attachment is not possible. Thanks |
|
||||
|
thanks for your speedy reply...i tried typing the code as a single file and it seems to get the following error:
"Variable syntax" could you let me know if im doing anything wrong? or is there another way of writing the same line or even another solution. thanks |
|
||||
|
Mail command
Hi Everyone,
I’m using the uuencode command with the mail command to send out emails through a UNIX script. The problems is that i have a number of gif files that i need to attach to a single email but the number and name of the gif files is not static. Example today the folder home/Desktop may contain 1.gif 2.gif 3.gif but tomorrow it may contain 3.gif sfsdf.gif vbgcvb.gif So that only thing that is constant is that all the files have a gif extension. Im trying to use a single line command that will enable me to send all the gif files in the current folder: uuencode home/Desktop/*.gif "many gif files" | mailx -s "GIf files" me@yahoo.com does anyone know how to do this? Unfortunately zipping the files before adding them as an attachment is not possible. Thanks |
![]() |
| Bookmarks |
| Tags |
| mailx, mailx attachment |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|