We are using Aspose Email for Java 23.4 to create vcf files. I noticed that the nickname does not get written to the vcf.
VCardContact contact = new VCardContact();
contact.getIdentificationInfo().setNickname("Nick name");
contact.getIdentificationInfo().setDisplayName("Dis Name");
VCardSaveOptions saveOptions = new VCardSaveOptions();
saveOptions.setVersion(VCardVersion.V30);
saveOptions.setUseExtensions(true);
ByteArrayOutputStream bos = new ByteArrayOutputStream();
contact.save(bos, saveOptions);
System.out.println(new String(bos.toByteArray()));
Result:
BEGIN:VCARD
VERSION:3.0
FN:Dis Name
REV:20230511T085603Z
END:VCARD
I would have expected a NICKNAME line.