The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sending HTML attachment through mail sushovan Shell Programming and Scripting 2 07-15-2008 09:47 AM
Unix:mail sending issue..pls help me soon bobprabhu UNIX for Dummies Questions & Answers 2 02-01-2008 05:44 AM
sending mails with attachment and also some text in mail body guptan UNIX for Advanced & Expert Users 7 05-25-2006 07:17 AM
Sending attachment thru a mail Rohini Vijay UNIX for Dummies Questions & Answers 1 05-12-2006 02:13 PM
Error when sending mail attachment dbrundrett UNIX for Dummies Questions & Answers 1 01-08-2004 06:26 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-26-2008
gksenthilkumar gksenthilkumar is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 11
Issue on sending a mail with attachment using unix script ?

Issue on sending a mail with attachment using unix script ?

Below is my code and is working fine and there is a issue in the attachment, the attachment file printing as a text-encripted message in the mail draft box instead of putting as a attachment
(cat $msg; uuencode $attach1 in1.txt ; uuencode $attach2 in2.txt ) | mailx -s "subject" mail_addr@domain.com

here $msg mail draft/text file with path
$attach1 & $attach2 are attachment file with path

please help!
  #2 (permalink)  
Old 11-26-2008
chatwizrd chatwizrd is offline
Banned
  
 

Join Date: Nov 2008
Posts: 67
Search the forum for "mailx attachment"
  #3 (permalink)  
Old 11-26-2008
gksenthilkumar gksenthilkumar is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 11
I have tried using
(cat $msg; uuencode $attach1 in1.txt ; uuencode $attach2 in2.txt ) | mailx -m -r "subject" mail_addr@domain.com
and its working fine now...

Thanks!
Closed Thread

Bookmarks

Tags
mailx attachment

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0