First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,37 @@
|
||||
<?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);
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user