PDA

View Full Version : Quick question



RaidersLive
06-21-2006, 08:27 PM
When my form entries are sent to my e-mail, they send as: "Mail Delivery failed: returning message to sender"

Here's the code on my thank you page, any ideas?

www.raiderslive.com

<script language="php">
$email = $HTTP_POST_VARS[email];
$mailto = "raidecom@raiderslive.com";
$mailsubj = "Form submission";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; }
if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); }
</script>

navaldesign
06-21-2006, 08:50 PM
Your code seems correct. Check your email account

RaidersLive
06-22-2006, 02:52 AM
The form gets emailed, the subject is "Mail delivery failed: returning message to sender" though, just doesn't seem correct...

navaldesign
06-22-2006, 04:43 AM
I tried sending a simple email to yours, and it gave me the same error. So i can simply suppose that either your email address in the script is wrong, or your email account is not perfectly functioning.

RaidersLive
06-22-2006, 07:34 AM
Has to be the address, any idea how to fix that?

navaldesign
06-22-2006, 07:40 AM
What's your real email?

RaidersLive
06-22-2006, 06:40 PM
my bluevoda email? raidecom@raiderslive.com

navaldesign
06-22-2006, 08:00 PM
It seems that you have an email problem, not a form problem. This is what i get when i send you a normal email:

- These recipients of your message have been processed by the mail server:
raidecom@raiderslive.com (raidecom@raiderslive.com); Failed; 5.1.1 (bad destination mailbox address)

Remote MTA raiderslive.com: SMTP diagnostic: 550-"The recipient cannot be verified. Please check all recipients of this\r\n550 message to verify they are valid."


Please check your email account