![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| uuencode/mailx | ocelot | Shell Programming and Scripting | 1 | 01-11-2008 08:28 AM |
| Question on mailx | Felix2511 | UNIX for Dummies Questions & Answers | 3 | 05-23-2007 01:38 PM |
| question on uuencode | vangalli | Shell Programming and Scripting | 5 | 07-26-2006 11:03 AM |
| mailx question | greenguy5 | UNIX for Dummies Questions & Answers | 1 | 10-21-2005 03:07 AM |
| Mailx question | Olivier | UNIX for Advanced & Expert Users | 3 | 08-26-2002 11:21 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
|
|||||
|
See similar question: Sending email with text & attachment using mailx
|
![]() |
| Bookmarks |
| Tags |
| mailx, mailx attachment |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|