Re: Email from within the MUD

From: RICARDO C LAGOS (lagos@UCLA.EDU)
Date: 01/05/98


Save the message they want to send to a temporary file then do a system call:

system("mail < temp.mail.file");

of course you'll have to have the full path for mail (or maybe not..) ..

-- Ricardo


On Sat, 3 Jan 1998, Jeff Almeida wrote:

> How do I go about having the MUD automatically send an email.  (NOT
> Mudmail, just a good ole every day email...)  I would imagine that it would
> have to do with reading the Man pages on pine or mail, but has anyone done
> this?  (I also realize that this will make the mud platform specific.
>
> Jeff
> (Delst of Sugilite)
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
>


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



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