From d773583ccdf0399d6ba2204dc6a1cf4a450cce39 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 21 Apr 2016 08:25:13 -0400 Subject: [PATCH] commenting out email section until to and from is determined --- models/front/events/frontAdd.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/models/front/events/frontAdd.php b/models/front/events/frontAdd.php index df94f30..09be0c9 100644 --- a/models/front/events/frontAdd.php +++ b/models/front/events/frontAdd.php @@ -395,15 +395,15 @@ class GLmMembersFront_events_frontAdd extends GlmDataEvents // Send confirmation email - $to = 'anthony@localhost'; - $subject = 'Event Form Submission'; - $message = "Thank you for submitting your event! \r\n". "Event Name: " . $name . "\r\n" . - "Scheduled for: " . $starting ; - $headers = 'From: webmaster@example.com' . "\r\n" . - 'Reply-To: webmaster@example.com' . "\r\n" . - 'X-Mailer: PHP/' . phpversion(); - - mail($to, $subject, $message, $headers); +// $to = 'anthony@localhost'; +// $subject = 'Event Form Submission'; +// $message = "Thank you for submitting your event! \r\n". "Event Name: " . $name . "\r\n" . +// "Scheduled for: " . $starting ; +// $headers = 'From: webmaster@example.com' . "\r\n" . +// 'Reply-To: webmaster@example.com' . "\r\n" . +// 'X-Mailer: PHP/' . phpversion(); +// +// mail($to, $subject, $message, $headers); } // echo '
', print_r($cats), '
'; -- 2.17.1