We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Semicolon is there in the address of the contact after export in VCF

Hello Team,
I am using Aspose.Email for Java API 18.6 for java. I am using MapiContact object to save the vcf file. but after saving that file some fields showing “;” semicolon at end of the fields . You can refer below screens.

Semicolons in address of the contact after export in eml.png (125.5 KB)


You may set address information using the following code sample:

//Set Physical Address using MapiContactPhysicalAddress and MapiContactPhysicalAddressPropertySet
MapiContactPhysicalAddress PhysAddrss = new MapiContactPhysicalAddress();
PhysAddrss.setAddress("144 Hitchcock Rd, Salinas, CA 93908");
MapiContactPhysicalAddressPropertySet PhysAddrPropSet = new MapiContactPhysicalAddressPropertySet();

We have tested the provided code sample using Aspose.Email for Java 18.10. Please write back to us if you have any further queries in this regard.