Hi On Thu, 2010-02-04 at 01:13 -0500, Kannan wrote: > 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 = "[email protected]"; > $subject = "Test mail"; > $message = "Hello! This is a simple email message."; > $from = "[email protected]"; > //$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 > you need to configure mail server to send mails using PHP script. You need to update this parameter in php.ini also as follows sendmail_path = /usr/sbin/sendmail -t -i
Thanks baskar _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
