![]() |
|
|
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 |
| Sending mail in the dead.letter file | mjdavies | UNIX for Dummies Questions & Answers | 4 | 04-23-2008 03:36 AM |
| How to use "mail" to attach a file with an email? | meili100 | UNIX for Dummies Questions & Answers | 2 | 02-23-2008 03:49 AM |
| How to attach a file & send mail thru script | Mar1006 | Shell Programming and Scripting | 9 | 10-12-2006 09:54 AM |
| spooled file getting distorted when sending through unix mail | chgopi | UNIX for Dummies Questions & Answers | 2 | 02-07-2006 03:26 PM |
| How to attach a file in mail? | firebirdonfire | UNIX for Dummies Questions & Answers | 1 | 03-29-2001 08:38 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
sending attachment had been answered many times,
could you please make use of the search facility: search the forum |
|
||||
|
I need to attach a txt file as well as embed some text in the mail body.
Thanks..
I need to attach a txt file as well as embed some text in the mail body. How to add the mail body(Some text) while attaching a file like this : uuencode abc.txt abc.txt | mailx -s "Attaching test" user@domain.com Charan. |
|
||||
|
Code:
uuencode abc.txt abc.txt | mailx -s "Attaching test" user@domain.com < your_file_containing_message |
|
||||
|
It Doesnt attach the txt file while embedding the mail body.
Madhan,
I tried this already.. uuencode abc.txt abc.txt | mailx -s "Attaching test" user@domain.com < your_file_containing_message This is sending out a mail with the body of the "your_file_containing_message" file.Doesnt attach the txt file. Charan. |
![]() |
| Bookmarks |
| Tags |
| mailx, mailx attachment |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|