emil error
Posted: Fri Feb 17, 2006 2:08 am
when i test this code
i got that error:
Warning: mail() [function.mail]: SMTP server response: 501 5.5.4
is there any way to solve that?
regards,
Code: Select all
$to = $_REQUEST["txtto"];
$subject = $_REQUEST["txtsubject"];
$message = "'" . $_REQUEST["txtmessage"] . "'";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: <" . $_REQUEST["txtfrom"] . ">\r\n";
mail($to, $subject, $message, $headers);Warning: mail() [function.mail]: SMTP server response: 501 5.5.4
is there any way to solve that?
regards,