[PLUG] mailing from within PHP on Ubuntu
Auke Kok
sofar at foo-projects.org
Sat Oct 14 18:10:39 UTC 2006
tkubaska at charter.net wrote:
> I'm stuck ... I'm not even sure where to look any more, but I'm sure what I want to do is simple and has to be described somewhere.
>
> I want to send mail from within a php script. I'm running Ubuntu Dapper with Apache and PHP5. I have a PHP example, which does echo the right stuff to the screen but the mail never gets set. My mailer is evolution (whcih on its own picks up mail just fine). I don't know how to invoke it from within php.
>
> The script invokes mail in its last line (which apparently, I don't have?)
that requires a form of sendmail on your machine, be it postfix or any of the other smtp
agents available. You can't have php use evolution ;)
Auke
More information about the PLUG
mailing list