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 > 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
Mailx Maximum attachment size sreejithau HP-UX 0 07-03-2007 09:16 AM
Attachment getting corrupted using mailx Sandipan Shell Programming and Scripting 1 04-25-2007 07:35 AM
UNABLE to send 5MB attachment using mailx tads98 Shell Programming and Scripting 3 09-02-2005 09:15 AM
HELP!!! how to send PDF file as an attachment using mailx Brat Shell Programming and Scripting 1 05-17-2005 01:20 AM
mail or mailx attachment brettmartin99 UNIX for Dummies Questions & Answers 3 03-07-2005 11:27 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 03-29-2005
pnathani pnathani is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 2
Multiple File Attachment Using Mailx

HI,
I want to send mail using mailx and also want to attach all files under specific directory.(*.*).
Please show me a script.
Thanks
  #2 (permalink)  
Old 03-29-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,229
This question is answered in the FAQs
http://www.unix.com/showthread.php?t=17065
  #3 (permalink)  
Old 03-29-2005
pnathani pnathani is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 2
I want to attach all files under specific directory.(*.*).
  #4 (permalink)  
Old 03-29-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,229
(
for file in *; do
uuencode ${file} $(basename ${file} )
done
) | mailx someone@somwhere.com
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 06:39 AM.


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