php mail() doesnt work for gmail and hotmail

baturin

New Member
I am trying to send new system generated password using \[code\]mail()\[/code\] in php. The thing is I am able to send it to yahoo but when I use gmail or hotmail I dont receive any emails although the function returns true. Following is the function:\[code\]if(mail($to,$subject,$body)){ return true;}else{ return false;}\[/code\]
 
Back
Top