Re: [PHP] wierd sendmail/mail problems

2004-06-20 Thread Jason Wong
On Saturday 19 June 2004 06:46, Pam Derks wrote:

 No, nothing fancy all on same machine, running on Apache...

So what exactly is different between the functioning case and the 
non-functioning case? Eg are you running them differently, ie one from the 
command line and the other via webserver?

-- 
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
--
/*
Whoever undertakes to set himself up as a judge of Truth and Knowledge is 
shipwrecked by the laughter of the gods.
-- Albert Einstein
*/

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



Re: [PHP] wierd sendmail/mail problems

2004-06-18 Thread Jason Wong
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



RE: [PHP] wierd sendmail/mail problems

2004-06-18 Thread Pam Derks
No, nothing fancy all on same machine, running on Apache...

-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 18, 2004 6:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] wierd sendmail/mail problems


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

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



[PHP] wierd sendmail/mail problems

2004-06-17 Thread pmd
Hi all,

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?
thanks in advance,
Pam

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