added the phpmailer class and the mailer file in includes as mailer.php