pojavi mi se pre oko nedelju dana problem da mi server (nasamreza.com) kada posaljem formu sa sajta salje mail
Citat:
A problem was found in an Email message sent to you.
This Email scanner intercepted it and stopped the entire message
before it reached you. No further action is required on your part.
The problem was reported to be:
Disallowed characters found in MIME headers
Please contact your IT support personnel with any queries regarding this
policy.
The message sent to you had the following envelope:
....
a deo koda koji salje je
Code:
<?php
if($_REQUEST["action"] == "sendmail"){
$headers = "MIME-Version: 1.0". "\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1" . "\r\n";
$headers .= "To: " .$TOEmailId. "\r\n";
$headers .= "From: " .$_SESSION["formvars"]["form2"]["email"]. "\r\n";
if(mail($TOEmailId,$mailSubject,$MAILBODY,$headers)){
session_destroy();
redirect($paymentpage);
}else{
echo makeErrorBox("Error occur while sending mail");
}
}
?>
<?php
if($_REQUEST["action"] == "sendmail"){
$headers = "MIME-Version: 1.0". "\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1" . "\r\n";
$headers .= "To: " .$TOEmailId. "\r\n";
$headers .= "From: " .$_SESSION["formvars"]["form2"]["email"]. "\r\n";
if(mail($TOEmailId,$mailSubject,$MAILBODY,$headers)){
session_destroy();
redirect($paymentpage);
}else{
echo makeErrorBox("Error occur while sending mail");
}
}
?>
verovatno je "bold" red problem ali ne znam kako da ga resim... forma salje mail kao html i mora tako da ostane jer u suprotnom necu moci da primim slike...
Da li je neko imao slican problem?