commenting out email section until to and from is determined
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 21 Apr 2016 12:25:13 +0000 (08:25 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 21 Apr 2016 12:25:13 +0000 (08:25 -0400)
models/front/events/frontAdd.php

index df94f30..09be0c9 100644 (file)
@@ -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 '<pre>', print_r($cats), '</pre>';