changed to php mysqli.
new mail format.
stuff.