function PHPMailer::IsHTML in SMTP Authentication Support 5
Same name and namespace in other branches
- 7.2 smtp.phpmailer.inc \PHPMailer::IsHTML()
- 7 smtp.phpmailer.inc \PHPMailer::IsHTML()
Sets message type to HTML.
Parameters
bool $bool:
Return value
void
File
- ./
smtp.module, line 684 - 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 IsHTML($bool) {
if ($bool == true) {
$this->ContentType = "text/html";
}
else {
$this->ContentType = "text/plain";
}
}