|
#include <CMailMessageBody.h>
Public Member Functions | |
| CMailMessageBody () | |
| Default constructor. | |
| void | text (const std::string &messageText, bool smtp) |
| Sets the message text. | |
| CMailMessageType | type () |
| Returns the message body type. | |
| const std::string & | text () const |
| Returns the plain text version of the message. | |
| const std::string & | html () const |
| Returns the html version of the message (if presented). | |
Contains the message text as plain text, or as an HTML text and stripped HTML text (where HTML tags removed)
| void sptk::CMailMessageBody::text | ( | const std::string & | messageText, | |
| bool | smtp | |||
| ) |
Sets the message text.
Tries to detect the HTML messages by searching HTML tag in the first 100 bytes of the message
| messageText | const std::string& messageText, the text of the message | |
| smtp | bool, special processing for smtp |
Referenced by sptk::CBaseMailConnect::body().