On Friday 18 June 2004 04:38, [EMAIL PROTECTED] wrote:

> am baffled...I've got a function to email a message that works perfectly
> as a simple function.
> I've written it 2 ways, (1) using mail and (2) writing the message to a
> tempfile and then sending the tempfile to sendmail
> both ways work.
>
> Now here's the problem...when I incorporate this function into a page that
> gets input from an html form, creates sessions, checks for errors, says
> thank you and then emails the responses it fails. Here are the errors I'm
> getting for the 2 different approaches:
> Warning: error: mail(): Could not execute mail delivery program
> Warning: system(): Unable to fork [/usr/lib/sendmail -t <
> /var/tmp/FOOVFaqq2]
>
> any clues to what I'm doing wrong?

Is your functioning function functioning on a different machine to the 
non-functioning function?

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
God grant me the senility to accept the things I cannot change,
The frustration to try to change things I cannot affect,
and the wisdom to tell the difference.
*/

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

Reply via email to