RE: [PHP] wierd sendmail/mail problems
| From: | Pam Derks | Date: | Fri, 18 Jun 2004 22:46:05 +0000 |
| Subject: | RE: [PHP] wierd sendmail/mail problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188617@lists.php.net to get a copy of this message | ||
No, nothing fancy all on same machine, running on Apache...
-----Original Message-----
From: Jason Wong [mailto:php-general@gremlins.biz]
Sent: Friday, June 18, 2004 6:30 AM
To: php-general@lists.php.net
Subject: Re: [PHP] wierd sendmail/mail problems
On Friday 18 June 2004 04:38, pmd@unex.berkeley.edu 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