Re: sendmail stuff

From: Rodrigo Barbosa (rpedroso@inatel.br)
Date: 02/12/99


At 06:36 PM 02/12/1999 +0100, you wrote:
>I was wondering how to get sendmail to mail directly without anyone having
>to be online? i was thinking of making my autorun script send me a email
>every time it starts so would have to be able to do this automatically
>where no-one is online etc.

Add this to your script:

# begin
${PATH_TO_SENDMAIL}/sendmail youremail@addr << EOMAIL
From: Autorun script <youremail@addr>
To: youremail@addr
Subject: Autorun script status

Autorun has restarted CircleMUD

EOMAIL
# End

Don't forget to make the necessary changes ...

[]s

--
Rodrigo Barbosa <rpedroso@inatel.br>
"Born to be wild !"


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST