I ve tried this mail script in two different servers.. but it doesnt work. what can be the problem. ? guees code is reliable coz it was working, but its very interesting that it doesnt work on different servers now?? i couldnt solve .. is there sth wrong in code?? thx.
$mailheaders = "From: ";
$mailheaders .= "Web Form";
$mailheaders .= "\n";
$mailheaders .= "Reply-To: ";
$mailheaders .= "info@blabla.com.tr";
$mailheaders .= "\n";
$mailheaders .= "Content-Type: text/html; charset=ISO-8859-9\n";
$htmlmail = <<<end_of_html_mail
my html here..
end_of_html_mail;
mail ("mymail@hotmail.com","Web Form",$htmlmail,$mailheaders);
$mailheaders = "From: ";
$mailheaders .= "Web Form";
$mailheaders .= "\n";
$mailheaders .= "Reply-To: ";
$mailheaders .= "info@blabla.com.tr";
$mailheaders .= "\n";
$mailheaders .= "Content-Type: text/html; charset=ISO-8859-9\n";
$htmlmail = <<<end_of_html_mail
my html here..
end_of_html_mail;
mail ("mymail@hotmail.com","Web Form",$htmlmail,$mailheaders);