Thanks for the reply, it works despite that bit of code not existing, are you saying that if i put it as the below it will stop the blank emails? I fail don't see how it would...
Code:
<?php
$email = $HTTP_POST_VARS[email];
$mailto = "info@xxxxxxxx.com";
$mailsubj = "mail form";
$mailhead = "From: $Email\n\n";
reset ($HTTP_POST_VARS);
$mailbody = "mail:\n\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); }
?>