Re: How do you get the body of a message (in a simple non-UI console app) ?



En 19/05/10 04:09, Steve Rosen escribiu:
> Hi All,
>
> Okay - another newbie question for the group - I've made great progress in
> creating a very simple application that tries to do the following (it is
> mostly based on the "folder-lister" sample program in the "tests"
> directory):
>
> 1. Hook up to an account store that maps to one of my Gmail accounts -
> DONE!
> 2. Recurse my way through all the folders of that Gmail account - DONE!
> 3. When finding a folder called "Inbox", do an async folder refresh -
> DONE!
> 4. After the refresh of the Inbox folder, do an async get headers - DONE!
> 5. For each header in the header callback function, do an async get
> msg - DONE!
> 6. For each msg in the msg callback function, dump out its main text
> body - NOT DONE...  :(
>
> This is meant to be a very simple console app that does NOT use any of the
> TinyMail UI framework!!!!!
>
> All I want to do is grab the main "text/plain" mime parts of the
> messages in
> the Inbox of a Gmail account - and I'm oh-so-close... !

As I already told you in another email, you most likely are retrieving
single part messages and thus the TnyMsg you are handling is the
TnyMimePart you are looking for.

Br


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]