public function MailMIME::setTXTBody in Mail MIME 6
Same name and namespace in other branches
- 8.2 mailmime.inc \MailMIME::setTXTBody()
- 6.2 mailmime.inc \MailMIME::setTXTBody()
- 7.2 mailmime.inc \MailMIME::setTXTBody()
- 7 mailmime.inc \MailMIME::setTXTBody()
Set the text/plain part of the message.
Parameters
$data: Either the text/plain data or the name of a file containing data.
$is_file: (optional) TRUE if $data is a filename. Defaults to FALSE.
$append: (optional) TRUE to append the data to the exiting text/plain part, or FALSE to overwrite existing data. Defaults to FALSE.
Return value
TRUE if successful; otherwise FALSE.
File
- ./
mailmime.inc, line 183 - 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 setTXTBody($data, $is_file = FALSE, $append = FALSE) {
return MailMIME::successful(parent::setTXTBody($data, $is_file, $append));
}