![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| uuencode/mailx | ocelot | Shell Programming and Scripting | 1 | 01-11-2008 04:28 AM |
| Question on mailx | Felix2511 | UNIX for Dummies Questions & Answers | 3 | 05-23-2007 10:38 AM |
| question on uuencode | vangalli | Shell Programming and Scripting | 5 | 07-26-2006 08:03 AM |
| mailx question | greenguy5 | UNIX for Dummies Questions & Answers | 1 | 10-21-2005 12:07 AM |
| Mailx question | Olivier | UNIX for Advanced & Expert Users | 3 | 08-26-2002 08:21 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
mailx and uuencode question
I have this code below that works well. I also want to attach a logfile to the email. The first part of this code is the body of the email.
Code:
echo "The size of $dirname/$f1 size = $f1size, and $dirname/$f2 = $f2size'" | mailx -s "Error with file sizes on $HOST Server" xyz@company.com Code:
uuencode /opt/manu/srv/test.log test.log | echo "The size of $dirname/$f1 size = $f1size, and $dirname/$f2 = $f2size'" | mailx -s "Error with file sizes on $HOST Server" xyz@company.com |
| Forum Sponsor | ||
|
|
|
||||
|
See similar question: Sending email with text & attachment using mailx
|
||||
| Google The UNIX and Linux Forums |
| Tags |
| mailx, mailx attachment |
| Thread Tools | |
| Display Modes | |
|
|