Need to override mail function
- From: vizzz <andrea.visinoni@xxxxxxxxx>
- Date: Fri, 23 May 2008 14:25:08 -0700 (PDT)
I need to override php mail function to append an extra header entry.
My first solution was to modify php source code in ext/standard/
mail.c, this is pretty simple but i need to append something like:
domain: customer-domain.tld, where customer-domain.tld is the domain
that call mail().
my goal is to have something completely transparent to my users, or to
disable mail() and tell them to use custom_mail().
which is the cleaner way to implement this? an extension? source code
modification (but how to have domain in mail.c ?).
Thanks Andrea
.
- Follow-Ups:
- Re: Need to override mail function
- From: petersprc
- Re: Need to override mail function
- Prev by Date: Sending Email
- Next by Date: File Upload Problem
- Previous by thread: Sending Email
- Next by thread: Re: Need to override mail function
- Index(es):
Relevant Pages
|