wow. now I really think I fucked something up.
I can't even access mail.32countiesphoto.com anymore...
goddam it.
anyway, here's what I got.
In my contact form, I have this:
<!-- CONTACT FORM SETTINGS -->
&contactform=6&
&formtext=Please fill out the form below.
&formthanks=Thank you for filling out the form. We will be in contact with you shortly.
&recipient="
[email protected]"&
&subject=Contact Form&
&scriptlocation=email.php&
then, in my email.php form, I have this:
<?php
//echo "<html><body>";
$recipient=$_POST["recipient"];
$subject=$_POST["subject"];
$whofrom="
[email protected]";
while (list ($key, $val) = each ($_POST)){
$message=$message."".$key.": ".$val."\r\n";
}
mail ($recipient, $subject, $message,"From: ".$whofrom."\r\nReply-To: ".$whofrom."\r\n");
//echo "Sending mail...";
//echo "</body></html>";
?>
Then, outta nowhere, if I use my webservers 'webmail' function, under the administrator account (not my account), I get this:
A message that you sent contained one or more recipient addresses that were
incorrectly constructed:
\"
[email protected]\": malformed address: \" may not follow \"
[email protected]
This address has been ignored. There were no other addresses in your
message, and so no attempt at delivery was possible.
------ This is a copy of your message, including all the headers. ------
To: \"
[email protected]\"
Subject: Contact Form
X-PHP-Script:
www.32countiesphoto.com/email.php for 76.99.132.110
From:
[email protected]
Reply-To:
[email protected]
Message-Id: <
[email protected]>
Date: Tue, 09 Dec 2008 18:00:41 -0500
script: email.php
recipient: \"
[email protected]\"
subject: Contact Form
Name: fuck
Email:
[email protected]
Comments: this sucks