After testing more carefully I see what is happening. The call to
mail() is generating a warning, and our custom error handler is trapping
that and causing the script to abort.
Thanks for setting me in the right direction.
Thank you,
Lewis Kapell
Computer Operations
Seton Home Study School
hi,
On Mon, Apr 19, 2010 at 9:22 PM, Lewis Kapell wrote:
> Running PHP version 5.3.1, I find that if my script tries to send an email
> message to an address in the local domain, and the address is invalid,
> mail() throws an error:
>
> mail(): SMTP server response: 550 5.1.1 : Recipient
> addres
You can use PHP exception to handle it and the script will not die. Details at
http://php.net/manual/en/language.exceptions.php.
Thanks,
Don.
-Original Message-
From: Lewis Kapell [mailto:lkap...@setonhome.org]
Sent: Monday, April 19, 2010 12:22 PM
To: php-windows@lists.php.net
Subject: