I just committed the library I am designing as the heart of the new GMail to branch. I doubt this library would ever be used outside GMail.
It allows you to take an item from a mail, take money from a mail, and delete a mail. You can also chain these actions in the following order by passing arguements: item, money, delete.
It tries to do everything atomically.The blizzard mail system is an imperfect one and Postal tries very hard to ensure a transaction is fully complete by checking multiple events.
i'd like to see this taken a step farther -- maybe collect and manage a local cache of all current mail messages, to allow for a total replacement of the default mailframe?
not that i'm trying to push you further into this than you want to go, grennon, just throwing the idea out there ;)
In the newest commit, I added returning mails and support for auction house mails (since they auto-delete).
I also added a sledgehammer function called PurgeMail that will attempt to stip an email and delete it.
I also uploaded GMail stub to branch that contains GMail Express. It enables expressmail shortcuts that use the atomic functions of Postal in the inbox. It also remembers the last person you mailed and autofills it. GMail Express is going to be the "mail tweaks" mod for things like "autofill subject with money/item" type things people expect in a good mailmod.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
It allows you to take an item from a mail, take money from a mail, and delete a mail. You can also chain these actions in the following order by passing arguements: item, money, delete.
It tries to do everything atomically.The blizzard mail system is an imperfect one and Postal tries very hard to ensure a transaction is fully complete by checking multiple events.
todo:
return mail
send mail
forward mail
not that i'm trying to push you further into this than you want to go, grennon, just throwing the idea out there ;)
I also added a sledgehammer function called PurgeMail that will attempt to stip an email and delete it.
I also uploaded GMail stub to branch that contains GMail Express. It enables expressmail shortcuts that use the atomic functions of Postal in the inbox. It also remembers the last person you mailed and autofills it. GMail Express is going to be the "mail tweaks" mod for things like "autofill subject with money/item" type things people expect in a good mailmod.