Re: [PHP-DEV] Proposed new mail function "mailfx()"

2002-03-20 Thread Eric Dynamic
Markus Fischer wrote: > > Current mail() implementation already has fifth optional > argument which does exactly what you want. > > And, for the 'file', it's as easy as writing: > > mail('To', 'Subject', join('',file('filename')), ... > > not that hard ... > > I do

Re: [PHP-DEV] Proposed new mail function "mailfx()"

2002-03-20 Thread Joe Webster
I agree with Markus, it's fine as is. "Markus Fischer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Current mail() implementation already has fifth optional > argument which does exactly what you want. > > And, for the 'file', it's as easy as wr

Re: [PHP-DEV] Proposed new mail function "mailfx()"

2002-03-20 Thread derick
On Wed, 20 Mar 2002, Rasmus Lerdorf wrote: > Was it really not sufficient to simply set the From: header appropriately > and make sure that your Apache user id was configured as a trusted > sendmail user? As far as I know you need to specify the -f parameter (5th parameter of mail()) and set th

Re: [PHP-DEV] Proposed new mail function "mailfx()"

2002-03-20 Thread Markus Fischer
Current mail() implementation already has fifth optional argument which does exactly what you want. And, for the 'file', it's as easy as writing: mail('To', 'Subject', join('',file('filename')), ... not that hard ... I don't think another mail*() function whith no s

Re: [PHP-DEV] Proposed new mail function "mailfx()"

2002-03-20 Thread Rasmus Lerdorf
Was it really not sufficient to simply set the From: header appropriately and make sure that your Apache user id was configured as a trusted sendmail user? On Wed, 20 Mar 2002, Eric Dynamic wrote: > I've written another mail function to deal with one of our ISP clients' needs. > I don't know if

[PHP-DEV] Proposed new mail function "mailfx()"

2002-03-20 Thread Eric Dynamic
I've written another mail function to deal with one of our ISP clients' needs. I don't know if the functionality is found elsewhere - nowhere in the documentation that I have seen, though. The standard mail function is mail( to, subject, message, optional-headers ) The client had two issues. Fi