At 04:36 PM 10/29/98 +1100, you wrote:
>Hey. Does anyone know a command I can run from the MUD to send email,
which will
>be used for registration? The equivilant in Unix would be to write the
message
>to a file, and then 'mail object@alphalink.com.au < body.txt'. Any help
would be
>appreciated .. :)
idea.
Add the CON_EMAIL_REG state, and set it up in the interpreter.
Name should be assigned by this time.
Open a file by the name of the character.
e.g., belgarath.reg
sprintf(buf, "mail object@alphalink.com.au < %s.reg", GET_NAME(ch));
system(buf);
I probably messed that up, but hopefully you get the gist.
-B.
>
>andrew Ritchie.
>
>| Andrew Ritchie, object@alphalink.com.au.
>
>
> +------------------------------------------------------------+
> | 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