Using php mailer for send mail + fix bugs