I've been using the following when all the info is in
the subject line:
echo | mail -ssubject user@host

The echo can also be used to put something in the body
of the message.
-John

> > Hi all
> >      I am using Bering RC3 and heard that
> lrp_ping_hosts doesn't work and
> > i want to write some script to ping my host and
> send mail if fail. I
> > use "mail" command like
> >     mail -s "Error" to [EMAIL PROTECTED]
> >      I have to use "CTRL+D" to send that mail. I
> would like to know how to
> > send them without CTRL+D. Anyone who know please
> tell me.
> >
> > Thank in Advance.
> > Thitiporn.
> 
> 
>
-------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
>
------------------------------------------------------------------------
> leaf-user mailing list:
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/leaf-user
> SR FAQ:
http://leaf-project.org/pub/doc/docmanager/docid_1891.html


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus � Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to