==================
Get email
==================
==================
Email script
==================
";
echo $error."
";
echo "Please go back and fix these errors.
";
die();
}
========================================
This parses it, but what do I do with
it to make it work in the URL?
========================================
{
$email_from = $_POST['email']; // required
$error_message = "";
$email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
if(!preg_match($email_exp,$email_from)) {
$error_message .= 'The Email Address you entered does not appear to be valid.
';
}
$email_message .= "Email: ".clean_string($email_from)."\n";
// create email headers
$headers = 'From: '.$email_from."\r\n".
'Reply-To: '.$email_from."\r\n" .
'X-Mailer: PHP/' . phpversion();
@mail($email_to, $email_subject, $email_message, $headers);
===============================================
Or I could forward it from here?
===============================================
{
Header("Location: https://www.bananasoup.com/letter/?email=emailname%40emaildomain");
}