![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Send mail attachments and have a mail body | shibajighosh | AIX | 1 | 04-18-2008 02:54 PM |
| Pull E-mail address from file, send e-mail | DC Heard | Shell Programming and Scripting | 1 | 01-29-2008 02:23 AM |
| mail problems - how to send mail on solaris | amon | SUN Solaris | 10 | 04-06-2006 10:31 AM |
| I am not able to send mail form unix to other mail accounts. | chinnigd | UNIX for Dummies Questions & Answers | 1 | 04-06-2006 09:31 AM |
| can not send mail from unix server to company/yahoo mail | b5fnpct | UNIX for Dummies Questions & Answers | 5 | 11-22-2002 09:24 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Send an e-mail using ksh
Hi,
I have a small script that outputs to a text file. I need to e-mail the contents of the text file to a mail alias. However, I cannot seem to get the script to print the 'subject', my script just leaves it blank. Has anybody any ideas what is wrong? if [ -s ~/merge_results2.txt ] then (echo "\nHere is the report from the RE team [unmerged files between JIL 2.0 and 2.5]...\n" ;cat ~/merge_results2.txt) | mail -s "Sync merge between 2.0 and 2.5" <my e-mail> fi Regards |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|