Hello,
In the past I’ve been instructed with 2 different ways to load vcf files:
Email.PersonalInfo.VCard.VCardContact.Load
vs
MapiContact.FromVCard
I’ve compared them both to load a vcf and save it as different formats, many bugs and malfunctions here, please kindly run my sample, it will load the vcf and save it as different formats.
Files numbered 1.* are loaded using VCardContact.Load
Files numbered 2.* are loaded using MapiMessage.Load
WindowsApplication4.zip (18.0 KB)
Let’s compare the results:
1.eml : No body is added to the message
2.eml : Invalid html body! Html tags inserted into the Html body!
I’ve seen this html issue before in another function, wise to do a project wide search to find similar issues!
And both 1.eml and 2,eml do not have attachments when loaded back using Aspose! Strange the Windows Live Mail 2012 will show their attachments although different in size!
1.emlx vs 2.emlx : same as the above .eml issues!
1.htm vs 2.htm: Seems 1.htm has one more field rendered: Business Address:office
I wonder why their underlying field generator/extractor is not the same!
1.mht vs 2.mht: Same as the above Htm issue!
1.msg vs 2.msg: Here 1.msg has a different field missing rendered: Full Name:First Last
And the most important, if you load this vcf contact:
contact.zip (60.4 KB)
And use it in my sample to save as different formats, you’ll see that 2.msg does not have email1 , email2 , email3 fields.
And saving as msg/vcf using any of those 2 methods, will remove the attached cer certificate from target
All targets are missing the contact attachment!
I hope it helps.