38 lines
1.0 KiB
PHP
38 lines
1.0 KiB
PHP
<?php
|
|
exit();
|
|
$CurrentDomain = "hotlunches.net";
|
|
$BASEDIR = "/m/data1/app.$CurrentDomain";
|
|
$WORKDIR = "$BASEDIR";
|
|
|
|
chdir("$BASEDIR");
|
|
date_default_timezone_set("Canada/Pacific");
|
|
|
|
|
|
$ValidAccess = 2010;
|
|
|
|
// include "$BASEDIR/include/school-functions.php";
|
|
// include "$BASEDIR/include/date-time.php";
|
|
include "include/globals.php";
|
|
|
|
// ---------- WILL BE A SERVER-WIDE SCRIPT ----------
|
|
if (!is_file("$BASEDIR/include/sendmailt.php")) {
|
|
echo("ERROR: $BASEDIR/include/sendmailt.php not found\n");
|
|
@unlink($lockFile);
|
|
exit();
|
|
}
|
|
include "$BASEDIR/include/sendmailt.php";
|
|
|
|
$email_to = "mark@hotlunches.net";
|
|
$email_from = "mark@hotlunches.net";
|
|
$email_from = "mark@gmail.com";
|
|
$email_subject = "This is a test";
|
|
$email_message = "This is a test message to see how the system works with other email addresses";
|
|
$email_from_name = "Mark Fester";
|
|
$email_to_name = "Mark";
|
|
$attachments = array();
|
|
$template_file = "";
|
|
|
|
SendEmail($email_to, $email_from, $email_subject, $email_message, $email_from_name, $email_to_name, $attachments, $template_file);
|
|
|
|
?>
|