Full name in the contacts is not displaying properly


#1

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)


#2

@kharade.a

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

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