mailer.php modified