Redemption MAPIUtils.GetItemFromID returns Nothing

G

Guest

When I was using oNamespace.GetItemFromID, it generates
the security popup. Then I use redemption
MAPIUtils.GetItemFromID instead but it returns nothing.
What do I do to get the mail item by its ID?
 
D

Dmitry Streblechenko

Are you sure you get a security popup from Namespace.GetItemFromID? It is
not blocked.
How do you call GetItemFromID in both cases? Do you pass the store id?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
B

Bingo

In both cases, I called GteItemFromID(oMail.MailID).
oMail is a custom object and subset of MailItem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top