Yes, phpmailer class instead of mail(). Its definitely (well, surely) more usefull and better, morever you can handle it on Win~ OS.
With Lost Account interface I may help you if its need - I wrote some time ago for my chat site (you know, kliknij.org) advanced lost nickname interface, so I could share it and you would check out how the things hang there.
I made my long and not nice code of Lost Account Interface, because I made it and then think "its stupid method to get back account and can be abused", but I'll not write it all from zero and then I added maaany lines of code. Now it's totally unreadable, but work
-------------------------
Acc. maker ver. 0.3 beta is ready!
Now I edit first post, add rehost and wait for bug reports
KNOWN BUGS:
- only one layout work (tibia.com)
- if you: 1. use SQLite 2. try to add one of samples as guild member/leader (why?!) you will see error :> (then you must press "Cleanup guilds" on guild page)
All tested on:
"tags" rev. 744 SQLite and MySQL databases
"trunk" rev. 744 SQLite and MySQL databases
Tested few created characters on engine: TFS 0.2.10 (with databases[sqlite/mysql] & config.lua from rev 744 [tag & trunk])
------------------------------------
Advanced configuration (if you know how it work edit config.ini file, this options are not availabe in beta Admin Panel):
- directory with houses info (default:
houseXML_file_subdir = "data\world\forgotten-house.xml")
- direcotry with vocations info (default:
vocationXML_file_subdir = "data\XML\vocations.xml")
- e-mail sender configuration (smpt server and rest,
email_lai_sec_interval = "300" - it mean 1 account can receive only one e-mail from "lost account interface" every 300 seconds [its posible to get back account by rec-key without sending any e-mail, but players can't abuse "send me e-mail with link to activate new password"]