Untitled
unknown
php
2 years ago
409 B
10
Indexable
<?php
$name = $_POST["name"];
$email = $_POST["email"];
$subject = $_POST["subject"];
$message = $_POST["message"];
$mailheader[] = 'Content-Type: text/plain;charset=utf-8';
$mailheader[] = 'MIME-Version: 1.0';
$mailheader[] = "From: " . $name . "<" . $email . ">\r\n";
$recipient = "no-reply@atom-cnc.com";
mail($recipient, $subject, $message, implode("\r\n", $mailheader))
or die("Error!");Editor is loading...