| 
#include <MailMessageBody.h>
Public Member Functions | |
| MailMessageBody () | |
| void | text (const std::string &messageText, bool smtp) | 
| MailMessageType | type () const | 
| const std::string & | text () const | 
| const std::string & | html () const | 
Mail message body text
Contains the message text as plain text, or as an HTML text and stripped HTML text (where HTML tags removed)
      
  | 
  inline | 
Default constructor
References PLAIN_TEXT_MESSAGE.
      
  | 
  inline | 
Returns the html version of the message (if presented)
      
  | 
  inline | 
Returns the plain text version of the message
| void sptk::MailMessageBody::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 | 
      
  | 
  inline | 
Returns the message body type