![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DOS messaging question - related to UNIX process problem | nhatch | UNIX for Advanced & Expert Users | 0 | 05-13-2008 08:51 AM |
| One Question related to alias | neerajrathi2 | UNIX for Advanced & Expert Users | 4 | 01-24-2008 01:43 AM |
| signals related question | ninjanesto | High Level Programming | 2 | 02-13-2007 10:43 AM |
| a math related question | jahjah | Shell Programming and Scripting | 9 | 09-13-2004 07:56 AM |
| A Question related to the net | sskb | UNIX for Dummies Questions & Answers | 8 | 10-03-2001 06:37 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Question related to Emailing from UNIX
Hi All,
I would like to write a script which sends an email to clients. mailx -s "TEST" $EMAIL_RECIPIENTS < FILE ...will send an email to EMAIL_RECIPIENTS with TEST as the subject and FILE as the body. Now I have a another CONTROL_FILE which is constant all the times (FILE in the above case varies at every run) I want to include this CONTROL_FILE along with the FILE while sending the email (CONTROL_FILE contents first followed by FILE contents). Ex : FILE has : 1tets 2usa CONTROL_FILE has: Hello All,. Thanks for your help. My out put should send email to $EMAIL_RECIPIENTS with -s TEST like the following way: ~~~~~~~~~~~~~~~~~ Hello All,. Thanks for your help. 1tets 2usa ~~~~~~~~~~~~~~~~~~ Please note: I do not want to create a another file FILE3 = catting CONTROL_FILE and FILE Please help. Thanks, jingi |
| Forum Sponsor | ||
|
|