Re: [PHP] Pear Mail - Trap for errors?

2012-11-14 Thread tamouse mailing lists
On Wed, Nov 14, 2012 at 7:19 PM, Rick Dwyer wrote: > Hello all. > > I have some Pear Mail code composing an email and sending it to an external > smtp server for sending. > > The issue is determining whether that external server actually accepted the > mail or not. In the IF(PEAR… code below, i

[PHP] Pear Mail - Trap for errors?

2012-11-14 Thread Rick Dwyer
Hello all. I have some Pear Mail code composing an email and sending it to an external smtp server for sending. The issue is determining whether that external server actually accepted the mail or not. In the IF(PEAR… code below, it will return success even if I leave the $to value empty. Ho

Re: [PHP] error_handler : unique "caller ID" ?

2012-11-14 Thread B. Aerts
On 13/11/12 20:04, Robert Williams wrote: On 11/13/12 11:20, "B. Aerts" wrote: Having read access to a variable's address (like a C-pointer) would be perfect - but Google tells me you can't in PHP. If you can restrict yourself to objects for the passed variables, you can use spl_object_hash