[PHP] override built-in mail()

2011-02-04 Thread Steve Staples
familiar with). So now to my actual question. How can I override the built-in PHP mail() function, to let either of those 2 (or something else someone may suggest) to act in the same manner as the mail() function? Is this easy? I've googled, but haven't seen any reference to doing what I am looking

Re: [PHP] override built-in mail()

2011-02-04 Thread Jim Lucas
ones out there, but those are the 2 I am most familiar with). So now to my actual question. How can I override the built-in PHP mail() function, to let either of those 2 (or something else someone may suggest) to act in the same manner as the mail() function? Is this easy? I've googled

Re: [PHP] override built-in mail()

2011-02-04 Thread Steve Staples
old Pear::Mail or PHPMailer scripts (I am sure there are other ones out there, but those are the 2 I am most familiar with). So now to my actual question. How can I override the built-in PHP mail() function, to let either of those 2 (or something else someone may suggest) to act

Re: [PHP] override built-in mail()

2011-02-04 Thread Thijs Lensselink
looking to do, is use either the trust old Pear::Mail or PHPMailer scripts (I am sure there are other ones out there, but those are the 2 I am most familiar with). So now to my actual question. How can I override the built-in PHP mail() function, to let either of those 2 (or something else someone

Re: [PHP] override built-in mail()

2011-02-04 Thread Steve Staples
that there is less of a chance for being marked as SPAM. So, what I am looking to do, is use either the trust old Pear::Mail or PHPMailer scripts (I am sure there are other ones out there, but those are the 2 I am most familiar with). So now to my actual question. How can I override the built

Re: [PHP] override built-in mail()

2011-02-04 Thread Thijs Lensselink
. How can I override the built-in PHP mail() function, to let either of those 2 (or something else someone may suggest) to act in the same manner as the mail() function? Is this easy? I've googled, but haven't seen any reference to doing what I am looking to do (maybe I just can't google) Steve

Re: [PHP] override built-in mail()

2011-02-04 Thread Thijs Lensselink
familiar with). So now to my actual question. How can I override the built-in PHP mail() function, to let either of those 2 (or something else someone may suggest) to act in the same manner as the mail() function? Is this easy? I've googled, but haven't seen any reference to doing what I am

RE: [PHP] override built-in mail()

2011-02-04 Thread Hansen, Mike
-Original Message- From: Thijs Lensselink [mailto:d...@lenss.nl] Sent: Friday, February 04, 2011 12:48 PM To: php-general@lists.php.net Subject: Re: [PHP] override built-in mail() On 02/04/2011 08:44 PM, Thijs Lensselink wrote: On 02/04/2011 08:38 PM, Steve Staples wrote

Re: [PHP] override built-in mail()

2011-02-04 Thread David Harkness
On Fri, Feb 4, 2011 at 12:42 PM, Hansen, Mike mike.han...@atmel.com wrote: I would opt for using my_mail and not overriding a built-in function. It seems to me that it would just cause confusion for the next developer who takes care of your code. You know, that psychopathic programmer that

Re: [PHP] override built-in mail()

2011-02-04 Thread Thijs Lensselink
On 02/04/2011 09:49 PM, David Harkness wrote: On Fri, Feb 4, 2011 at 12:42 PM, Hansen, Mike mike.han...@atmel.com wrote: I would opt for using my_mail and not overriding a built-in function. It seems to me that it would just cause confusion for the next developer who takes care of your code.