[Ilugc] Send Mail Using PHP in Fedora 12
kannan4k at gmail.com
Thu Feb 4 12:05:18 IST 2010
>you need to configure mail server to send mails using PHP script.
How to configure the mail server to send mails?
Kannan. R. P,
Blog @: http://kannan4k.wordpress.com/
On Thu, Feb 4, 2010 at 1:33 AM, baskar <baskar910 at gmail.com> wrote:
> 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 = "kannan4k at gmail.com";
> > $subject = "Test mail";
> > $message = "Hello! This is a simple email message.";
> > $from = "blood.kec at gmail.com";
> > //$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
> ILUGC Mailing List:
More information about the ilugc