Connecting Tech Pros Worldwide Forums | Help | Site Map

Error Sending E-mail To Hotmail :: Help

abdoelmasry's Avatar
Member
 
Join Date: Oct 2006
Location: Egypt :: Ismailia
Posts: 87
#1: Apr 10 '07
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="abdoelmasry_eg@hotmail.com";
$mailfrom="Admin@EGYHK.com";
$mailsubject=" Test Message ";
$mailheader=" FROM : $mailfrom";
$mailmessage=" Hi \r\n Welcome To www.EGYHK.com \r\n";
mail($mailto,$mailsubject,$mailmessage) 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

iam_clint's Avatar
Forum Leader
 
Join Date: Jul 2006
Location: Oklahoma
Posts: 1,076
#2: Apr 10 '07

re: Error Sending E-mail To Hotmail :: Help


are you sure its not just going to a junk mail folder?
abdoelmasry's Avatar
Member
 
Join Date: Oct 2006
Location: Egypt :: Ismailia
Posts: 87
#3: Apr 11 '07

re: Error Sending E-mail To Hotmail :: Help


Ya Man
I Checked Junk mail
Reply