The following code will send a verification code to a player after they set their email with 'setemail'. After verifying their email the MUD can then be used to send other emails (password recovery, immortal note, etc).
This was written for AckFUSS 4.4.1 but should port easily to any Diku-based game. Substitute char * fields for string fields and adjust as needed if you are compiling with gcc instead of g++.
ACK! compatible code snippets.
2 posts • Page 1 of 1