Subject: | Mail-processing methods |
Maybe this should go in "TODO", but I'll put it here for now. Message-handling functions that
should be added to the module:
- read_message: Passed a message ID, it returns the friend_id of the sender, the subject, and
body of the message.
-reply_to: Passed a message ID and a message, it replies to the message, placing the reply
message at the top of the new message. Note that this method would have to actually load the
message form and "click" the "Reply" button so that myspace would properly show that the
message was "Replied" to.
- inbox (or "get_messages"): Returns a list of the message IDs in the inbox.
- optional methods (or modifications): A method to return a list of message IDs, and each
message's sender (friendID), status (Read, Replied, Unread, Sent(?)), and possibly subject.