From: Anthony Talarico Date: Thu, 21 Apr 2016 12:25:13 +0000 (-0400) Subject: commenting out email section until to and from is determined X-Git-Tag: v1.0.0^2~93 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d773583ccdf0399d6ba2204dc6a1cf4a450cce39;p=WP-Plugins%2Fglm-member-db-events.git commenting out email section until to and from is determined --- 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), '
';