Main Page Class Hierarchy Alphabetical List Compound List Examples |
text/plain entity class More...
#include <message.h>
Public Member Functions | |
TextPlain (const std::string &text) | |
TextPlain (const std::string &text, const std::string &charset) |
text/plain entity class
TextPlain is a MimeEntity that defaults its ContentType to "text/plain" and its charset to "us-ascii".
TextPlain | ( | const std::string & | text, | |
const std::string & | charset | |||
) |
constructs a TextPlain object, assigns text to its body and adds a ContentType::Param("charset", charset) to ContentType parameter list