function PHPMailer::SetError in SMTP Authentication Support 5
Same name and namespace in other branches
- 7.2 smtp.phpmailer.inc \PHPMailer::SetError()
- 7 smtp.phpmailer.inc \PHPMailer::SetError()
Adds the error message to the error container. Returns void. @access private
Return value
void
9 calls to PHPMailer::SetError()
- PHPMailer::AddAttachment in ./
smtp.module - Adds an attachment from a path on the filesystem. Returns false if the file could not be found or accessed.
- PHPMailer::AddEmbeddedImage in ./
smtp.module - Adds an embedded attachment. This can include images, sounds, and just about any other document. Make sure to set the $type to an image type. For JPEG images use "image/jpeg" and for GIF images use "image/gif".
- PHPMailer::EncodeFile in ./
smtp.module - Encodes attachment in requested format. Returns an empty string on failure. @access private
- PHPMailer::EncodeString in ./
smtp.module - Encodes string to requested format. Returns an empty string on failure. @access private
- PHPMailer::MailSend in ./
smtp.module - Sends mail using the PHP mail() function. @access private
File
- ./
smtp.module, line 1869 - 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 SetError($msg) {
$this->error_count++;
$this->ErrorInfo = $msg;
}