Catching error from mail function?

From: Date: Fri, 01 Apr 2005 03:00:36 +0000
Subject: Catching error from mail function?
Groups: php.general 
Request: Send a blank email to php-general+get-212001@lists.php.net to get a copy of this message
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

« previous php.general (#212001) next »