Re: Email from within the MUD

From: Edward Glamkowski (EGlamkowski@MATHEMATICA-MPR.COM)
Date: 01/05/98


        First, are you collecting email addresses at character creation?
It would be slightly easier if you do, since it is one less bit
of information to ask for when composing the message.
        When the player writes the text to be emailed, save it to a file.
If necessary, create some extra fields in the file to hold email
addresses to and from, title of message, and anything else of interest.
Then write a little shell [Perl!] script that would parse the file and
do the email'ing when run, and put an entry in the crontab to run the
script every 30 minutes or every hour or whatever.  And be sure to
delete the files after they've been sent!  (unless you plan on reading
them... };)
        Perhaps a bit tedious, but it should work.

        You will also have to have a good understanding of how to run
your mail utility non-interactively.  (sendmail should work - any
security issues to be aware of here?  I know there are if you have
an older version of sendmail... ;)
RTM for details on this.

>----------
>From:  Jeff Almeida[SMTP:jalmeida@IX.NETCOM.COM]
>Sent:  Saturday, January 03, 1998 11:15 AM
>To:    CIRCLE@POST.QUEENSU.CA
>Subject:        Email from within the MUD
>
>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