public function MailMIME::setHTMLBody in Mail MIME 8.2
Same name and namespace in other branches
- 6.2 mailmime.inc \MailMIME::setHTMLBody()
- 6 mailmime.inc \MailMIME::setHTMLBody()
- 7.2 mailmime.inc \MailMIME::setHTMLBody()
- 7 mailmime.inc \MailMIME::setHTMLBody()
Sets the text/html part of the message.
Parameters
$data: Either the text/html data or the name of a file containing the data.
$is_file: (optional) TRUE if $data is a filename. Defaults to FALSE.
Return value
TRUE if successful; otherwise FALSE.
File
- ./
mailmime.inc, line 207 - Provides the MailMIME class for creating MIME-formatted email messages.
Class
- MailMIME
- The MailMIME class is used to create MIME email messages.
Code
public function setHTMLBody($data, $is_file = FALSE) {
return self::successful(parent::setHTMLBody($data, $is_file));
}