Warning: session_start() [function.session-start]: The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/www/19eb4c1f2b4263a815f8db6e1f72e2b9/web/joc/javadocplus/index.php on line 19
Moyosoft - Java Outlook Connector - API Reference JavaDocPlus
Moyosoft Products | Services | Download | Contact us    
Java Outlook Connector
Products  >  Java Outlook Connector  >  API Reference    
API Reference
   
Overview  |  
Classic JavaDoc

OutlookAppointment.send

public void send()

Community comments


Send a meeting request
Vote up  |  Vote down
To send the appointment, it's required to set the meeting status before calling send().

Outlook outlook = new Outlook();

OutlookFolder calendar = outlook.getDefaultFolder(FolderType.CALENDAR);

OutlookAppointment appointment = (OutlookAppointment) calendar.createItem(ItemType.APPOINTMENT);

appointment.setSubject("My appointment");
appointment.setStart(new Date());
appointment.setDuration(30);
appointment.getRecipients().createNew("john@example.com");

appointment.setMeetingStatus(MeetingStatus.MEETING);
appointment.send();

outlook.dispose();


Powered by JavaDocPlus