Package com.aspose.email

Examples of com.aspose.email.MapiCalendar


                      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);
   
    System.out.println("Done");
  }
View Full Code Here


public class AsposeNewCalenderItems
{
  public static void main(String[] args) throws Exception
  {
    // Create the appointment
    MapiCalendar appointment = new MapiCalendar(
        "LAKE ARGYLE WA 6743",
        "Appointment",
        "This is a very important meeting :)",
        new Date(2012, 10, 2, 13, 0, 0),
        new Date(2012, 10, 2, 14, 0, 0));

    appointment.save("data/AsposeCalendarItem.ics", AppointmentSaveFormat.Ics);
  }
View Full Code Here

TOP

Related Classes of com.aspose.email.MapiCalendar

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.