Hello,
i just tried to deal with some vcard files, which i saved from my MS Outlook 2010 contacts.
Everytime when the program tries to load a vcard, an exception “header doesn’t correspond to vCard format” is thrown. Even with an empty vcard, the dll doesn’t work.
It seems that Aspose.Email gets confused by the X-MS-CARDPICTURE attribute. If i remove the attribute from the VCF file everything works fine.
The big problem: Outlook include the X-MS-CARDPICTURE by default everytime an vcard is saved, even if the vcard hasn’t any picture at all.
===== Code =========
try {
VCardContact. vc = VCardContact.Load(SourceDocument.FileName);}catch(Exception e) {
System.Console.WriteLn(e.ToString());}
===== Code ================
Using:
.net 2.0 Runtime
Aspose.Email.dll: 1.2.0.0
MS Outlook 2010
Internal bugid#4345
Best regards, Martin