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

Free Support Forum - aspose.com

RSVP, PARTSTAT or even custom properties in ICS appointment/attendees

Hello,

if possible I would like to clarify with you if this is currently possible via Aspose.Email for Java API to set at least following properties in ATTENDEE:
PARTSTAT
RSVP

or the best custom properties for attendees as well as for entire appointment vevent.

Thank you in advance for the answer.
Best regards
Piotr

@Piotr.Sus,

You can add PARTSTAT & RSVP parameters/properties for ATTENDEE in an appointment. Example is given below for your kind reference.

.ICS File Code Sample:

ATTENDEE;CN="Joe User";PARTSTAT=ACCEPTED;RSVP=FALSE:mailto:joe.user@xxyyzz.com

@Piotr.Sus,

In addition to my previous reply, you may use the following Java code for PARTSTAT=ACCEPTED.

CODE:

com.aspose.email.Appointment calDoc = com.aspose.email.Appointment.load("test.ics");
calDoc.setStatus(com.aspose.email.AppointmentStatus.Confirmed);
calDoc.setMethod(com.aspose.email.AppointmentMethodType.Reply);