I’m using version 4.5.0.
When I’m importing contacts from the vCard using MapiContact.fromVCard , the contact’s notes not imported correctly (formatting):
1) In vCard format the next chars are kinda escaped : , : it means in the vCard they appears like \, and \: respectively, but it also shows up in the PST and they have to be formatted to appear as , and :.
2) HTML - if the note is HTML then it's shows up in the PST like text with HTML tags and not rendered as HTML.
Thank you for writing to Aspose support team.
Could you please provide us with sample vCard files that can be used to investigate this issue at our end? I would also request you to please share your sample code with us that you are using at your end for observing this issue. We’ll look into it and assist you further as soon as possible.
Please see attached zip file with contacts.
Here the code that imports contacts into the PST:
Charset utf8Charset = Charset.forName("UTF-8");
int fileCounter = 0;
FileInputStream is = new FileInputStream("contact_" + fileCounter + ".vcf");
MapiContact contact = MapiContact.fromVCard(is, this.utf8Charset);
Thank you for sharing your concern with us.
I was able to reproduce this issue at my end using the latest version of Aspose.Email for Java 4.5.0 and have logged it as NETWRKJAVA-33420 in our issue tracking system for further investigation by our development team. Once there is any information available in this regard, I'll update you here via this thread.
We are sorry for the inconvenience caused to you.