Setting Participation Status of Attendees with Aspose.Email for Java 18.3

aspose-email-for-javaAsopse.Email for Java 18.3 has been released. This release introduces new feature of setting participation status of meetings attendees. It also brings further stability to API functionality by fixing issues that were reported with earlier versions of the API. For complete details on what is new and fixed, please visit the release notes section of API documentation.

Setting Participant Status for Meeting

This release of Aspose.Email for Java API lets you set the participation status of attendees of a meeting. This lets you add the same information to output ICS file in the form of PARTSTAT property. Status can be set to accepted as well as declined as per user’s requirements. This is as demonstrated by the following code sample.
String location = "Room 5";
java.util.Calendar c = java.util.Calendar.getInstance();
c.set(2011, 11, 10, 10, 12, 11);
Date startDate = c.getTime();
c.set(2012, 10, 13, 13, 11, 12);
Date endDate = c.getTime();
MailAddress organizer = new MailAddress("", "Organizer");
MailAddressCollection attendees = new MailAddressCollection();
MailAddress attendee1 = new MailAddress("", "First attendee");
MailAddress attendee2 = new MailAddress("", "Second attendee");


Appointment target = new Appointment(location, startDate, endDate, organizer, attendees);

API Resources

We have detailed information available online for getting started with the Aspose.Email for Java API. These are: