Contact

Argentina

Avenida Directorio 1658
Buenos Aires, CABA

Teléfono: (00 54 11) 4632 4002

United States

92 Harrison Ave, Island Park
N.Y. 11558

Phone: (001 516) 432 3812


info@myddoc.com


'; } } else { $errors .= 'Please enter your name.
'; } if ($_POST['contact-email'] != "") { $email = filter_var($_POST['contact-email'], FILTER_SANITIZE_EMAIL); if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { $errors .= "$email is NOT a valid email address.

"; } } else { $errors .= 'Please enter your email address.
'; } if ($_POST['contact-subject'] != "") { $_POST['contact-subject'] = filter_var($_POST['contact-subject'], FILTER_SANITIZE_STRING); if ($_POST['contact-subject'] == "") { $errors .= 'Please enter a subject.
'; } } else { $errors .= 'Please enter a subject.
'; } if ($_POST['contact-message'] != "") { $_POST['contact-message'] = filter_var($_POST['contact-message'], FILTER_SANITIZE_STRING); if ($_POST['contact-message'] == "") { $errors .= 'Please enter a message to send.
'; } } else { $errors .= 'Please enter a message to send.
'; } if (!$errors) { $mail_to = 'youremail@yourdomain.com'; $subject = "Nestor HTML: " . $_POST['contact-subject']; $message = 'From: ' . $_POST['contact-name'] . "\n"; $message .= 'Email: ' . $_POST['contact-email'] . "\n"; $message .= "Message:\n" . $_POST['contact-message'] . "\n\n"; $header = "From:" . $_POST['contact-email'] . "\r\n"; mail($mail_to, $subject, $message, $header) or die("Error!"); ?>
Success! Thank you for your email.
Error!