MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / plainTextRendering

Method plainTextRendering

src/core/imap/MCIMAPSession.cpp:4408–4418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4406}
4407
4408String * IMAPSession::plainTextRendering(IMAPMessage * message, String * folder, ErrorCode * pError)
4409{
4410 String * htmlString = htmlRendering(message, folder, pError);
4411
4412 if (* pError != ErrorNone) {
4413 return NULL;
4414 }
4415
4416 String * plainTextString = htmlString->flattenHTML();
4417 return plainTextString;
4418}
4419
4420String * IMAPSession::plainTextBodyRendering(IMAPMessage * message, String * folder, bool stripWhitespace, ErrorCode * pError)
4421{

Callers 2

mc_foreacharrayFunction · 0.45
mainMethod · 0.45

Calls 1

flattenHTMLMethod · 0.80

Tested by 1

mc_foreacharrayFunction · 0.36