Re: Catching error from mail function?
| From: | Zareef Ahmed | Date: | Fri, 01 Apr 2005 08:36:55 +0000 |
| Subject: | Re: Catching error from mail function? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212016@lists.php.net to get a copy of this message | ||
Hi,
First of all set error reporting to E_ALL, you may get the error string.
zareef ahmed
On Apr 1, 2005 8:30 AM, Ben Cheng <kenshin@mac.com> wrote:
> Hi I'm using the mail() function to send email and I know it's failing
> because it's returning a false but how do I tell what problem is? Is
> there an error message that I can grab that will show me why the
> function is returning false? Any help greatly appreciated. Thanks!
>
> -Ben
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Zareef Ahmed :: A PHP Developer in India ( Delhi )
Homepage :: http://www.zareef.net