Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: executing sendmail from PHP


Message #1 by "Allan Hedegaard Hansen" <allan_hedegaard@h...> on Wed, 20 Sep 2000 12:33:04 +0100
He might not neccessarily trying to send an email.  You could be trying to
send an actual command to sendmail.

----- Original Message -----
From: "James Hart" <jamesh@w...>
To: "professional php" <pro_php@p...>
Sent: Wednesday, September 20, 2000 9:33 AM
Subject: [pro_php] RE: executing sendmail from PHP


> First of all, you shouldn't have to use system() passthru() or exec() -
the
> mail() function, when called on a UNIX machine, calls the mail program
> specified in your PHP.ini file, which is typically sendmail.
>
> Take a look at the mail() function pages in the PHP manual at
> www.php.net/manual.
>
> > -----Original Message-----
> > From: Allan Hedegaard Hansen [mailto:allan_hedegaard@h...]
> > Sent: 20 September 2000 12:33
> > To: professional php
> > Subject: [pro_php] executing sendmail from PHP
> >
> >
> > I have tried to execute sendmail in Linux but nothing happens.
> > I have used the functions system() passthru() and excec() but nothing
> > semms to happen.



  Return to Index