I am using Aspose.Email for Java API 18.6 . So i have MapiCalendar Object and from MapiCalendar object i have to read Birthday and Anniversary fields. It is not reading properly. Please help us.
Thank you for contacting Aspose Support.
Please use the code snippet given below to retrieve Birthday and Anniversary fields.
MapiContact contact = MapiContact.fromVCard("contact.vcf"); System.out.println(contact.getEvents().getBirthday()); System.out.println(contact.getEvents().getWeddingAnniversary());
We hope that this solved the issue that you were facing. In case your issue is not resolved, or our understanding of your requirements is not correct, please share a bit more detail so that we can assist you further.