Hi Guys
Could Any One Help me to use mail() function ??
I can use mail() to send messages to any mail server
but i have problem while sending to HOTMAIL
Im Using this code :
[PHP]<?php
$mailto="abdoel masry_eg@hotmai l.com";
$mailfrom="Admi n@EGYHK.com";
$mailsubject=" Test Message ";
$mailheader=" FROM : $mailfrom";
$mailmessage=" Hi \r\n Welcome To www.EGYHK.com \r\n";
mail($mailto,$m ailsubject,$mai lmessage) or die("Error Sending Message");
?>[/PHP]
i have tryed it with yahoo it's working good
is there any another parametres to use with hotmail ??
THX
Could Any One Help me to use mail() function ??
I can use mail() to send messages to any mail server
but i have problem while sending to HOTMAIL
Im Using this code :
[PHP]<?php
$mailto="abdoel masry_eg@hotmai l.com";
$mailfrom="Admi n@EGYHK.com";
$mailsubject=" Test Message ";
$mailheader=" FROM : $mailfrom";
$mailmessage=" Hi \r\n Welcome To www.EGYHK.com \r\n";
mail($mailto,$m ailsubject,$mai lmessage) or die("Error Sending Message");
?>[/PHP]
i have tryed it with yahoo it's working good
is there any another parametres to use with hotmail ??
THX
Comment