The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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
mailx mike509123 Ubuntu 6 09-30-2008 02:59 AM
mailx Paul Byrne UNIX for Advanced & Expert Users 6 06-23-2008 04:28 AM
mailx error message : mailx: NUL changed to @ BG_JrAdmin UNIX for Dummies Questions & Answers 2 12-01-2005 10:27 AM
Help with mailx ssmith001 UNIX for Dummies Questions & Answers 1 09-02-2005 06:20 PM
mailx to to Dl sm321 Shell Programming and Scripting 1 07-16-2004 08:21 PM

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 08-25-2007
anumkoshy anumkoshy is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 26
mailX

I would like to get a solution ..

how can i attach more than one file to a mail using mailx


yep........ sure

if test.dat is the file

cat test.dat|uuencode test.dat|mailx -s "subject" mailid

can be used for attaching test.dat



how can we attach
test1.dat and test2.dat

Last edited by anumkoshy; 08-25-2007 at 11:47 AM..
  #2 (permalink)  
Old 08-25-2007
sharif sharif is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 40
Mailx - Attachment.

Quote:
Originally Posted by anumkoshy View Post
I would like to get a solution ..

how can i attach more than one file to a mail using mailx
Can u tell me how can I attach single file using mailx command?
  #3 (permalink)  
Old 08-25-2007
Nagabhushan Nagabhushan is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 12
I not so goood in unix but following will work

mailx -s "subject" mailid <inputfile for one file attachment

you can use pine comcnd for multiple attachment mail


pine - read and send electronic mail with an easy user
interface
  #4 (permalink)  
Old 08-25-2007
anumkoshy anumkoshy is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 26
yep........ sure

if test.dat is the file

cat test.dat|uuencode test.dat|mailx -s "subject" mailid

can be used for attaching test.dat



how can we attach
test1.dat and test2.dat
  #5 (permalink)  
Old 08-25-2007
anumkoshy anumkoshy is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 26
.

............................
Closed Thread

Bookmarks

Tags
mailx, 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 09:20 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