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
mailx mike509123 Ubuntu 6 09-30-2008 03:59 AM
mailx Paul Byrne UNIX for Advanced & Expert Users 6 06-23-2008 05:28 AM
mailX anumkoshy Shell Programming and Scripting 4 08-25-2007 01:08 PM
mailx error message : mailx: NUL changed to @ BG_JrAdmin UNIX for Dummies Questions & Answers 2 12-01-2005 10:27 AM
mailx to to Dl sm321 Shell Programming and Scripting 1 07-16-2004 09: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 09-02-2005
ssmith001 ssmith001 is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 25
Help with mailx

I want to send a message with an attachment from Unix using the following command:

uuencode $DIRNAME/$FILENAME1 | mailx -s "test subject" xyz@xyz

I need to attach the file and I also want a simple message body like "there is an error. Please check it".

Do I need to have this message body in a file and send it into the mailx command, or is there a way to do it without having to have another file containing the body?
  #2 (permalink)  
Old 09-02-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,246
Have a look in the mail section of the frequently asked questions.
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 10:31 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