Donate Share

VMime

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

get text from the mimes

You are viewing a single message from this topic. View all messages.

  1. 2009-06-16 07:49:21 UTC
    Hi,

    I am using the messageParser example of the Book (5.1.2): and when i get the textPart an html text part i have a doubt...

    in de code apears like this..

    tp->getPlanText()

    tp is a htmltextPart an in the class reference aperas that getPlaintext is a const ref< const contentHandler >

    i have tried to cast like this

    tp->getPlaintext().dynamicCast <vmime::text>()->getConvertedtext(ch);

    but i have a cating error.

    How can i get the text and parse it to a std::string??

    Regards.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.