Re: sendmail stuff

From: Rodrigo Barbosa (
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

# End

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


Rodrigo Barbosa <>
"Born to be wild !"

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

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