add phpmailer library
fix a bug