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
Mail issue - Subject title missing kiem SUN Solaris 2 10-10-2007 11:56 AM
sort mail based on subject in unix. sriram.s Shell Programming and Scripting 2 02-02-2007 04:38 AM
How to set Subject in 'mail' ? hkapil UNIX for Dummies Questions & Answers 2 10-14-2005 01:36 PM
Mail subject output of script kiano UNIX for Dummies Questions & Answers 4 11-29-2001 08:52 AM
Send a mail with a subject and an attachement josecollantes UNIX for Dummies Questions & Answers 1 08-27-2001 08:55 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-12-2007
Registered User
 

Join Date: Jul 2007
Posts: 2
what are the codes used for setting the subject in the mail command?

Hi,

I am trying to add a subject to the email that is sent, what are the codes used for setting the subject?

or can someone direct me to a site that shows what the other codes are tat i could use with command line

this is the crobjob command i am using that sends the email at the moment.

mysqldump -ce --user=***** --password=******* thedatabasenametosend | gzip | uuencode dbbackup_e.gz | mail db-bu@mail.com



thanks in advacne
Reply With Quote
Forum Sponsor
  #2  
Old 07-12-2007
jgt jgt is offline
Registered User
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 348
mail -s "subject for discussion" user@domain.com
Reply With Quote
  #3  
Old 07-12-2007
Registered User
 

Join Date: Jul 2007
Posts: 2
Hi,

Thank you but i did try this before and tried again but also included the " 's but still it does not send anything with this in the line in my cronjob on my unix server.

any ideas why this wont work?

thanks again for your help.

Jason
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0