public function PHPMailer::IsHTML in SMTP Authentication Support 7.2
Same name and namespace in other branches
- 5 smtp.module \PHPMailer::IsHTML()
- 7 smtp.phpmailer.inc \PHPMailer::IsHTML()
Sets message type to HTML.
Parameters
bool $ishtml:
Return value
void
1 call to PHPMailer::IsHTML()
- PHPMailer::MsgHTML in ./
smtp.phpmailer.inc - Evaluates the message and returns modifications for inline images and backgrounds @access public
File
- ./
smtp.phpmailer.inc, line 356 - 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 IsHTML($ishtml = TRUE) {
if ($ishtml) {
$this->ContentType = $this->is_html = 'text/html';
}
else {
$this->ContentType = $this->is_html = 'text/plain';
}
}