Mail_Mime::setTxtBody()

Mail_Mime::setTxtBody()

Mail_Mime::setTxtBody() -- set plain text part

Description

Sets the plain text part of a message

Parameter

  • string $data - The text to set or, if $isfile is TRUE a valid filename. An URL as argument is not allowed.

  • boolean $isfile - If TRUE, the content of given file $data is used as message text.

Return value

boolean - Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

© Copyright 2003-2014 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.