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

Free Support Forum - aspose.com

Full name in the contacts is not displaying properly

Hello Team,
I am using Aspose.Email for java 18.6 API for java. I have set first name , middle name , last name fields in MapiContact and save MapiContact in to .VCF file then Full Name field is showing not sowing properly. You can refer blow screen shots.

Full name in contact after export in EML.png (112.9 KB)


You may use the following code sample to set Full Name:

//Set Name properties using MapiContactNamePropertySet
MapiContactNamePropertySet NamePropSet = new MapiContactNamePropertySet();
NamePropSet.setDisplayName("Dr. II");