add configuration of PHPMailer
upgrade sendMail function to sendEMailTo function, now use PHPMailer