diff --git a/docs/forms/contact.php b/docs/forms/contact.php deleted file mode 100644 index 5beb75b..0000000 --- a/docs/forms/contact.php +++ /dev/null @@ -1,41 +0,0 @@ -ajax = true; - - $contact->to = $receiving_email_address; - $contact->from_name = $_POST['name']; - $contact->from_email = $_POST['email']; - $contact->subject = $_POST['subject']; - - // Uncomment below code if you want to use SMTP to send emails. You need to enter your correct SMTP credentials - /* - $contact->smtp = array( - 'host' => 'example.com', - 'username' => 'example', - 'password' => 'pass', - 'port' => '587' - ); - */ - - $contact->add_message( $_POST['name'], 'From'); - $contact->add_message( $_POST['email'], 'Email'); - $contact->add_message( $_POST['message'], 'Message', 10); - - echo $contact->send(); -?>