Page 1 of 1

[function.mail]

Posted: Wed Jul 14, 2010 12:41 am
by dawaxing
Dear all,

i have developed a simple website for my personal interest,in this site i have a page to refer to friends.
it capture the mail id of friend i enter and once i submit the button it sends a message to the refereed person.
now my problem is when i enter my local id :- dor980@dit.gov.bt it works fine and i receive mail. but when i enter yahoo and gmail in the refereed person id
it give me following Warninig :
Warning: mail() [function.mail]: SMTP server response: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser) in C:\xampp\htdocs\sandel wood\refertofan.php on line 93


then code in line no 93 in refertofan is :- mail($f_email,$subject,$body_message,$headers);

why is this warning coming and mail is not fired to the refereed person id?
is it because this site is not hosted and not working in yahoo and gamil,where as it works in local id becuse it in in the same LAN.

please suggest me what is the mistake?
your help and suggestion is highly appreciated.
dawaxing