added sql injections test for mail php and fixed mail function bug