Re: emalloc() troubles
| From: | Paul Gregg | Date: | Fri, 03 Jan 2003 15:13:57 +0000 |
| Subject: | Re: emalloc() troubles | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93086@lists.php.net to get a copy of this message | ||
In mail.php.internals, Ari Pollak <ajp@aripollak.com> wrote:
> Hi there, I'm trying to hack mail.c to automatically pass a -f argument
> to qmail with a return address, so that the Return-path of the message
> is not always root@blah. Anyway, I seem to have been successful in this
> endeavor, but I have a slight problem - whenever my code gets executed,
> I get two errors output:
Simple fix in PHP code (not source):
putenv("QMAILSUSER=username");
putenv("QMAILSHOST=mydomain.com");
No need to hack up mail.c
Paul, aka Qube