I've been experimenting with online games for a while now and I would like to know how to make it so that you can send mail to other players and that they then can receive it. If it's possible I would also like to know how to make so that you can send mail to players that arn't even online. If you know how to do this, please post it in the comments.
Some say I'm a piece of slime pretending to be a human, some say I'm a human pretending to be a piece of slime.
There are a couple of ways to pull this off, and most of them require having a dedicated server.
To do this with Lacewing you'll need to create a protocol for communicating this to your server.
If you're not worried about security then you can just have the server accept all messages on a particular channel and then attach the username it's being sent to as part of the message.
Then parse it out and save it to a database or flat file, or just keep it in memory if you want.
Next when the user it's intended for connects they can send a message requesting all of their messages and your server can relay the messages back to them.
There is another way to do this however. It might be better not to use lacewing if you don't have to. You could setup a php script on a webhost and then have fusion make get requests to transmit and retrieve the messages. That's a little out of the scope of your question though.