overcrash
Active Member
نمیدونم چرا وقتی کد اول رو اجرا میکنم میل ارسال میشه ولی با کد دومی ارسال نمیشه؟!
هیچ پیغام خطاییی هم نمیده!
کداول:
کددوم
مشکل کجاست؟!
هیچ پیغام خطاییی هم نمیده!
کداول:
PHP:
<?php
$from="[email protected]";
$to = "[email protected]";
$headers = "From: Once Forever <[email protected]>\r\n";
$headers .= "To: haMid <[email protected]>\r\n";
mail($to,'Subject Goes Here','Body of the email message',$headers);
?>
کددوم
PHP:
<?php
$from="[email protected]";
$to = "[email protected]";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: Once Forever <[email protected]>\r\n";
$headers .= "To: haMid <[email protected]>\r\n";
mail($to,'Subject Goes Here','Body of the email message',$headers);
?>
مشکل کجاست؟!