![]() |
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 |
| problem with uuencode | rjsha1 | Shell Programming and Scripting | 9 | 04-29-2009 09:15 AM |
| uuencode and mailx problem | zeekstern | SUN Solaris | 2 | 10-22-2008 12:52 PM |
| uuencode/mailx | ocelot | Shell Programming and Scripting | 1 | 01-11-2008 08:28 AM |
| Problem with uuencode | markms | Shell Programming and Scripting | 0 | 04-07-2006 01:13 PM |
| mailx and uuencode question | ssmiths001 | Shell Programming and Scripting | 1 | 10-21-2005 06:43 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
mailx, uuencode problem
I've this command to run ...
Purpose : Send attachment file with e-mail body... ( E-mail body i read it from text file) uuencode TEST_FILE.csv TEST_FILE.csv | cat /usr/local/bin/EMAIL_BODY.txt - | mailx -s "TEST Report" -c receiver1@mail.com receiver2@mail.com Here is the problem .. this command works beautifully in my development server and i get e-mail with body and attachment. However in Production server i get e-mail but no attachment ... and attachment contents are at the end of the body as garbage data... Any idea why and what could be wrong here? I really appriciate your help.... |
|
||||
|
use
Code:
cat /usr/local/bin/EMAIL_BODY.txt | mailx -s "TEST Report" -a TEST_FILE.csv -c receiver1@mail.com receiver2@mail.com |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|