You are here

function PHPMailer::IsError in SMTP Authentication Support 5

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

Returns true if an error occurred.

Return value

bool

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

File

./smtp.module, line 1948
Enables drupal to send email directly to an SMTP server using authentication. Uses the PHPMailer class by Brent R. Matzelle.

Class

PHPMailer
PHPMailer - PHP email transport class @package PHPMailer @author Brent R. Matzelle @copyright 2001 - 2003 Brent R. Matzelle

Code

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