public function MailMIME::setHTMLBody in Mail MIME 7.2
Same name and namespace in other branches
- 8.2 mailmime.inc \MailMIME::setHTMLBody()
- 6.2 mailmime.inc \MailMIME::setHTMLBody()
- 6 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.
1 call to MailMIME::setHTMLBody()
- MailMIME::get in ./
mailmime.inc - Builds and returns the full multipart message with all its parts.
File
- ./
mailmime.inc, line 218 - 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) {
$parent_set = parent::setHTMLBody($data, $is_file);
return self::successful($parent_set);
}