VCardContact or MapiContact?

Hello
Public Shared Function Email.PersonalInfo.Contact.Load is obsolete:
This method is deprecated and will be removed soon, use the VCardContact and MapiContact classes to load from file or stream.

Which one do you recommend to load WebDav xml files?

And if my memory serves me, I had a case to have:
ContactSaveFormat.Oft
AppointmentSaveFormat.Oft

Any info on that? :slight_smile:

Thanks :slight_smile:

Please let us also review these cases and share our thoughts.

WebDav xml format is obsolete and we do not plan to support it anymore. We do not have a proper schema that we can use to convert WebDav xml to MapiContact or VCard objects without errors.

1 Like

Thanks.
And if my memory serves me, I had a case to have:
ContactSaveFormat.Oft
AppointmentSaveFormat.Oft

Any info on that? :slight_smile:

Possible to save MapiItems as Oft directly? ie MapiDistributionList.Save only supports Msg and not Oft?

I don’t think this is necessary, as you can always use the GetUnderlyingMessage() method for any MAPI Item:

dlist.GetUnderlyingMessage().Save("dlist.oft", SaveOptions.DefaultOft);
1 Like

Thank youuuuuu
I wasn’t aware of GetUnderlyingMessage method.
Is it available for all MapiItems and can be used on all MapiItems to save them as Oft or Tnef?
Best :slight_smile:

oops, Appointment does not have GetUnderlyingMessage and Appointment.Save only supports Msg and Ics :slight_smile:

Appointment does not represent Mapi item. It requires converting to MapiCalendar.

1 Like