no-queue-emailer

no-queue-emailer

include(dirname(__FILE__)."/classes/class.mailer.php");
$oMailer = new mailer();

$start = microtime(true);
$x = $oMailer->sendMail("This is a test message", "test mail", $_POST["email"]);

if( $x === true )
{
        print "Mail sending passed";
}
else
{
        print "Mail sending failed";
}

$end = microtime(true);

print "<p>Time elapsed in seconds: ".($end - $start);
Comments are closed.