Just a little something i wrote over the weekend to space out the tedium of maths exam revision, it works with my DB, but if anyone has any problems let me know.
Supports Auction house, GM, and normal mail.
Known issues: Rendering problems on IE (if anyone has any suggestions about how to make IE obey my table size parameters please let me know)
"Return to sender" unavailable, from what i could see the ascent cores i tested it on don't seem to support multiple items in the mailbox insert queue.
Encrypted passwords not supported (yet)
Mail Expiry time problems, see below
Read and edit config.php before use, apart from that just dump into a webserver
demo: WoW Web-Mail System Beta 1
login admin/admin
Download: www.stewartatkins.org/randomstuff/wowmail.zip
Mail expiry problems:
The cores i tested with forced all mail sent from the webmail client to never expire, the following ascent patch should correct this problem.
Code:
Index: MailSystem.cpp
===================================================================
--- MailSystem.cpp (revision somethingorother)
+++ MailSystem.cpp (working copy)
@@ -829,7 +829,7 @@
msg.stationary = stationary;
msg.delivery_time = (uint32)UNIXTIME;
- msg.expire_time = 0;
+ msg.expire_time = ((uint32)UNIXTIME)+(30*24*60*60); //30 day expiry
msg.read_flag = false;
msg.copy_made = false;
msg.deleted_flag = false;