Re: *****[SPAM(1.8)]*****

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



payne@xxxxxxxxxxxxxxxxxxx wrote:
Can someone please point me to a web site with examples of php being use
with the cli sending mail. I need to create a couple scripts that do that.
I have looked on the net and most scripts are for form feed back.

Just look at the PHP manual's mail() function.

The form feedback examples just use the form to actually gather some data but if you want to send mail from a cli PHP app then just gather the info in whatever way suits you and then call the same mail() function.

if you need to read input, just to a fgets() or stream_get_line() on a handle to "php://stdin" or something along those lines.

Col


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux