Redemption - import MGS

  • Thread starter Thread starter Semut
  • Start date Start date
S

Semut

Hello,

I am using Outlook 2003. I used Outlook MAPI OOM(SaveAs method) to save
my Outlook contact item and later use the Redemption SafeContactItem.Import
function to load back the MSG.

There are few fields of contact that Redemption did not get loaded in.
- Department
- Job Title
- IM address

I have not check the others item yet. The above fields is avail in even
Outlook 2000 (I check the Outlook 2000 Object Model view from Microeye)

Is it because my Redemption DLL is not up to date?

I am currently using SafeOutlook library 3.3.




thank you.

Anthony Yio
 
See if updating Redemption helps. It's at least at version 3.4 now. I have
version 3.4.0.338 and it's probably not the latest one.
 
I have tried the latest version, from the web site, version 3.4.0.325. it is
not working either.
 
I figure it out already.

It appears that if I use SafeContactItem to import the MSG, some fields will
be missing. (some bugs perhap)
The workaround is to use Redemption::MAPIUtils instead.

The sequence is

save the newly added ContactItem,

then through Redemption::MAPIUtils, get the IMessageItem from GetItemFromID,
Import and save.
 
I'm glad you worked it out. I'd email Dmitry with your results so he can fix
anything that's not working correctly.
 
It could be that Outlook overwrites the Redemption changes. Try to save the
new contact immediately after creating it, then save it again after
importing using Redemption.

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