You are here

public function PHPMailer::IsError in SMTP Authentication Support 7

Same name and namespace in other branches
  1. 5 smtp.module \PHPMailer::IsError()
  2. 7.2 smtp.phpmailer.inc \PHPMailer::IsError()

Returns TRUE if an error occurred. @access public

Return value

bool

2 calls to PHPMailer::IsError()
PHPMailer::AttachAll in ./smtp.phpmailer.inc
Attaches all fs, string, and binary attachments to the message. Returns an empty string on failure. @access private
PHPMailer::CreateBody in ./smtp.phpmailer.inc
Assembles the message body. Returns an empty string on failure. @access public

File

./smtp.phpmailer.inc, line 1978
The mail handler class in smtp module, based on code of the phpmailer library, customized and relicensed to GPLv2.

Class

PHPMailer
PHPMailer - PHP email transport class NOTE: Requires PHP version 5 or later @package PHPMailer @author Andy Prevost @author Marcus Bointon @copyright 2004 - 2009 Andy Prevost

Code

public function IsError() {
  return $this->error_count > 0;
}