public function PHPMailer::isError
Search API
5.x PHPMailer.php | public PHPMailer::isError() |
Check if an error occurred.
Return value
bool True if an error did occur
2 calls to PHPMailer::isError()
- PHPMailer::attachAll in inc/
PHPMailer/ src/ PHPMailer.php - Attach all file, string, and binary attachments to the message. Returns an empty string on failure.
- PHPMailer::createBody in inc/
PHPMailer/ src/ PHPMailer.php - Assemble the message body. Returns an empty string on failure.
File
- inc/
PHPMailer/ src/ PHPMailer.php, line 3813
Class
- PHPMailer
- PHPMailer - PHP email creation and transport class.
Namespace
PHPMailer\PHPMailerCode
public function isError()
{
return $this->error_count > 0;
}