Check the documentation; http://php.net/manual/en/function.mail.php Returns TRUE if the mail was successfully accepted for delivery, FALSE otherwise. Of course, this only confirms that the PHP mail function completed successfully - you wont be able to check if there was a problem with SMTP transport later on.....