I have problem in sending mail. I'm using Fedora Core release 6 - LINUX in my development server. I access this server from my local WINDOWS system. I'm trying to send mail from that linux server. But its not going. The mail server is another remote system.
Code I used is:
$recipients="ramesh.marimuthu@wipro.com";
$subject='Password of InventoryTool site';
$body='Hi ';
$from="From: ramesh.marimuthu@wipro.com";
$mail=mail($recipients,$subject,$body,$from);
if ($mail) {echo 'mail OK';} else {echo 'mail FAIL';}
I get 'mail OK', but I dont receive the mail. What could be the problem? Should I change the configurations?