Klenwell Sandbox"; echo "

Gmailer Test

"; // put script name here // *** PROCEDURAL if ( 1 ) { echo "

Testing in Progess

"; // settings $_PATH['gmailer'] = 'gmailer.class.php'; // run require_once($_PATH['gmailer']); $Mailer = new GmailMailer($debug=1); $Mailer->Username = ''; $Mailer->Password = ''; $Mailer->FromName = 'Your Name'; $Mailer->AddAddress('recipient@gmail.com', 'Recipient Name'); $Mailer->Subject = 'testing GmailMailer'; $Mailer->Body = "This is a test of GmailMailer, an extension of PHPMailer for use with Gmail accounts."; if ( !$Mailer->send_email() ) { trigger_error('drats! It failed', E_USER_WARNING); } else { $Mailer->print_d('Message successfully sent!'); $Mailer->print_d("
Subject:{$Mailer->Subject}\n{$Mailer->Body}
"); } } // Footer $_txn = microtime(); $stx = number_format(((substr($_txn,0,9)) + (substr($_txn,-10)) - (substr($_tx0,0,9)) - (substr($_tx0,-10))),4); $footer = << script completed in $stx s HTML; echo $footer; ?>