You could try:
PHP Code:
...
if(mail("contact@stuff4web.co.uk",$sub,$msg,"From: $email"))
header("Location: contact.php?d=1");
else
{
echo "Error sending mail, perhaps no sendmail compiled with used php installation, please wheck for it";
phpinfo();
}
?>