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
send mail purtcular subject forward s_sheik Linux 1 01-17-2008 10:11 AM
Mail issue - Subject title missing kiem SUN Solaris 2 10-10-2007 03:56 PM
what are the codes used for setting the subject in the mail command? Jason3107 UNIX for Dummies Questions & Answers 2 07-12-2007 10:15 AM
Mail subject output of script kiano UNIX for Dummies Questions & Answers 4 11-29-2001 11:52 AM
Send a mail with a subject and an attachement josecollantes UNIX for Dummies Questions & Answers 1 08-28-2001 12:55 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 10-14-2005
hkapil hkapil is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 10
How to set Subject in 'mail' ?

Hi,
I am trying to send some file to some mail ids using mail command in UNIX.
Now the issue is I am not able to find how to add "Subject text" to the command.

So I am using command like

"mail abc@yahoo.com < file_name"

Now if I use simple mail command I can set subject text by using "Subject:" option of command. But while sending an attached file how can I set the subject?

I tried "-s" option but it is nto working?

I am using Sun SOlaris and k shell.

Thanks in advance.
  #2 (permalink)  
Old 10-14-2005
reborg's Avatar
reborg reborg is online now Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,234
Use mailx instead of mail.
  #3 (permalink)  
Old 10-14-2005
hkapil hkapil is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 10
Thnx

Thanx,
mailx really worked and there are many options with that.

Thanks
Closed Thread

Bookmarks

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:49 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