35 lines
1.0 KiB
PHP
35 lines
1.0 KiB
PHP
<?php
|
|
|
|
$ValidAccess = 2010;
|
|
require_once("include/sendmail2.php");
|
|
include "db.php";
|
|
require_once("include/queuemail.php");
|
|
|
|
$QueueDelay = 5;
|
|
|
|
date_default_timezone_set("America/Vancouver");
|
|
|
|
$date = date("Y-m-d H:i:s",time());
|
|
|
|
$schoolName = "Test School";
|
|
$emailFrom = "sales@hotlunches.net";
|
|
$emailFrom = "mark@fester.ca";
|
|
$emailSubject = "Hot Lunches Server Test Email";
|
|
$emailMessage = "<html><body>" .
|
|
"<p>This is a test of email from the Hot Lunches Server</p>" .
|
|
"<p>Please note that your credit card statement will have a transaction description of \"BAM*EZS Software Inc.\"</p>" .
|
|
"<p>Payment From: <b>$schoolName</b></p>" .
|
|
"<p>$date</p>" .
|
|
"</body></html>";
|
|
|
|
$emailTo = "mark@schoolappointments.com";
|
|
$emailTo = "marcozink@gmail.com";
|
|
$emailTo = "mark@fester.ca";
|
|
|
|
QueueEmail($emailTo,$emailFrom,$emailSubject,$emailMessage,"School Appointments");
|
|
// SendEmail($emailTo,$emailFrom,$emailSubject,$emailMessage,"School Appointments");
|
|
echo("done\n");
|
|
|
|
|
|
?>
|