Hi.. On Sun, Sep 28, 2008 at 23:17, Julien Kerihuel <[EMAIL PROTECTED]> wrote: > On Sun, 2008-09-28 at 23:12 +0530, Suman Manjunath wrote: >> This *is* a problem with the MAPI plugin. It has got to do with the >> algorithm we use to fetch the body and whether or not we use GetProps >> / GetPropsAll (in particular - fetching/not fetching the PR_BODY_HTML >> property seems to be the cause of this problem). > > Suman > > Have you tried the GetBestBody function available in libmapi? > > http://apidocs.openchange.org/libmapi/simple__mapi_8c.html#c77ec981ccaa328f0fd1c9cdc03ae153
yes.. the mailer backend uses GetBestBody to fetch the body. Johnny has some fallback if the body is in RTF (Evolution can't handle RTF). The problem seems to appear if: "i'm using GetProps" && "i'm using GetBestBody" && "PR_BODY_HTML and PR_BODY_HTML_UNICODE are not in the GetProps list". I really don't know how they are all related - it is only an observation. I could try to give a scenario where fetching body fails consistently (in our code), tomorrow when I get back to work :) -Suman > > If I understand the evo-mapi problem correctly, this should fix the > issue for you. > > Cheers, > Julien. _______________________________________________ devel mailing list [email protected] http://mailman.openchange.org/listinfo/devel
