> > I received an email where the sender attached a Sent Item. This attachment > > is an embedded > > message, I open it with GetEmbeddedMessage and then I treat the returned > > object like any > > other message object. Since it is a Sent Item, it doesn't have any header, > > so I need to read > > the recipients from the a table returned by GetRecipientsTable. However, > > that fails with > > MAPI_E_NOT_INITIALIZED. Could there be something missing in > > GetEmbeddedMessage? > > Can you try r1284 and tell me if it matches your expectation?
Thank you very much, Julien. The test case that I had now works as expected. I do get a recipients table and I can get data for PR_SMTP_ADDRESS and PR_RECIPIENTS_TYPE as expected. However, I'm back to one of my newbie problems. I cannot get the recipients name. Both PR_RECIPIENT_DISPLAY_NAME and PR_DISPLAY_NAME return only null strings. Does this mean that these tags aren't available in this data structure, that the server has no information for this or am I doing something wrong? I don't know. I'm using octool_get_propval in the same way as with the other two tags. My test case does show display names and email addresses when I open it in OWA. -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com _______________________________________________ devel mailing list [email protected] http://mailman.openchange.org/listinfo/devel
