![]() |
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 |
| how to send an email with some body content and attachment | balireddy_77 | Shell Programming and Scripting | 2 | 08-20-2008 06:33 AM |
| Send email from unix (AIX) with PDF attachment | sunjup | AIX | 0 | 03-14-2008 04:12 PM |
| Send email with attachment in form of excel in unix | bdebroy | Shell Programming and Scripting | 8 | 09-05-2007 05:39 AM |
| How to send attachment to web-based email client using mailx | randomcz1 | Shell Programming and Scripting | 1 | 11-07-2006 05:00 PM |
| script that will send and email attachment | davels | Shell Programming and Scripting | 2 | 01-01-2005 05:44 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
send email from unix with attachment
Hello All,
This is a common question that I found lot of results in the forums. I am trying to use uuencode to attach a file and send email. I have no issues sending email, but not able to attach any files using sendmail. Is uuencode part of sendmail or does 'uuencode' utility need to be there on the machine? If so, can someone help me find where I can download it? I am using Linux RHEL 3.0 OS. I am doing this: content="To: chiru_h@xyz.com\n"; content="${content}From: chiru_h@xyz.com\n"; content="${content}Subject: This is a test\n"; content="${content}$(cat body.txt)\n"; content="${content}$(uuencode attach.txt)\n"; echo -e "$content" | /usr/lib/sendmail -tv I could send email but not attach the file. Please help! Thanks, Chiru |
|
||||
|
I did a search and found this:
http://www.unix.com/unix-desktop-for...g-problem.html Hope it helps. Good Luck. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|