![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sending mail | parmeet | UNIX for Dummies Questions & Answers | 11 | 05-13-2009 03:37 AM |
| hp ux not sending mail | kkhan | HP-UX | 3 | 01-31-2008 11:27 PM |
| Mail sending | panknil | Shell Programming and Scripting | 15 | 09-19-2007 01:24 AM |
| Sending Mail | parmeet | UNIX for Dummies Questions & Answers | 1 | 01-23-2007 05:08 AM |
| sending a mail to a mail client | solaris73 | UNIX for Dummies Questions & Answers | 5 | 11-18-2002 01:58 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
folks,
I wrote a script like follow for sending notification email, but the problem is cannot pass the multiple words to the subject line, any help: ======================================= send_msg () { send_email $1 exit 1; } send_email () { mail -s $1 $mail_address << MAIL test } if [ ! -f test.again ]; then send_msg "No file found" fi ====================================== the subject line should be "No file found", but the output from this script only "No", I also tred to put "", but got error msg. Any help? Thanks |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|