Appointment app = new Appointment("Appointment Location", "Appointment Summary", "Appointment Description",
startDate, endDate,
new MailAddress("organizer_address@domain.com", "Organizer"), attendees, expected);
MailMessage msg = new MailMessage();
msg.addAlternateView(app.requestApointment());
MapiMessage mapi = MapiMessage.fromMailMessage(msg);
MapiCalendar cal = (MapiCalendar)mapi.toMapiMessageItem();
cal.setRemainderSet(true);
cal.setRemainderDelta(58);//58 min before start of event
cal.setReminderFileParameter("data/logon.wav");
cal.save("data/AsposeAudioReminder.ics", AppointmentSaveFormat.Ics);