[Ilugc] Send Mail Using PHP in Fedora 12

  • From: kannan4k@xxxxxxxxx (Kannan)
  • Date: Thu Feb 4 11:43:58 2010

Hi Friends...
         I want to send email using the PHP script.
I didn't configure any mail server & smtp.

For sending mail i use a script

$to = "kannan4k@xxxxxxxxx";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "blood.kec@xxxxxxxxx";
//$headers = "From: $from";
if(mail($to,$subject,$message))
echo "Mail Sent.";



This doesn't work.
How to configure the system to sending mail using PHP script?
Operating System: Fedora 12









With regards,

Kannan. R. P,
Blog @: http://kannan4k.wordpress.com/

Other related posts: