I have the same error but below is my php and need hep to bypass the error i googled and reseached for days and it will won't work.
Error
Warning: mail() [function.mail]: SMTP server response: 554 The message was rejected because it contains prohibited virus or spam content in D:\Hosting\6380341\html\scripts\email.php on line 24
Thank you the email!!!!
<?php
$emailSubject = 'email';
$webMaster = 'example@example.com';
$firstField = $_POST['first\r\n'];
$lastField = $_POST['last\r\n'];
$emailField = $_POST['email\r\n'];
$phoneField = $_POST['phone\r\n'];
$body = <<<EOD
<br><hr><br>
First: $first <br>
Last: $last <br>
Email: $email <br>
Phone: $phone <br>
EOD;
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);
/* */
$theResults = <<<EOD
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
Thank you the email!!!!
</body>
</html>
EOD;
echo "$theResults";
?>