diff options
author | 2013-07-06 07:27:24 -0400 | |
---|---|---|
committer | 2013-07-06 07:27:24 -0400 | |
commit | e7792ad0d839677410e4eecaf30095314d64f127 (patch) | |
tree | e3eb0f2c42fe611dfb58a31a12adae33a24084d6 /src/core/rfc822/MCMessageBuilder.cc | |
parent | f2f14f4dca0ae290890ed677d042f4c1142c84d7 (diff) | |
parent | dd0b3c7a22eb957e5f2b9a71a2d3bdb342d62269 (diff) |
Merge remote-tracking branch 'upstream/master' into message-rendering-with-session
Diffstat (limited to 'src/core/rfc822/MCMessageBuilder.cc')
-rw-r--r-- | src/core/rfc822/MCMessageBuilder.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/core/rfc822/MCMessageBuilder.cc b/src/core/rfc822/MCMessageBuilder.cc index ea449fd6..7f902be1 100644 --- a/src/core/rfc822/MCMessageBuilder.cc +++ b/src/core/rfc822/MCMessageBuilder.cc @@ -691,3 +691,22 @@ String * MessageBuilder::htmlRendering(HTMLRendererTemplateCallback * htmlCallba MessageParser * message = MessageParser::messageParserWithData(data()); return message->htmlRendering(htmlCallback); } + +String * MessageBuilder::htmlBodyRendering() +{ + MessageParser * message = MessageParser::messageParserWithData(data()); + return message->htmlBodyRendering(); +} + +String * MessageBuilder::plainTextRendering() +{ + MessageParser * message = MessageParser::messageParserWithData(data()); + return message->plainTextRendering(); +} + +String * MessageBuilder::plainTextBodyRendering() +{ + MessageParser * message = MessageParser::messageParserWithData(data()); + return message->plainTextBodyRendering(); +} + |