Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-22-2008, 11:12 PM
Active Member
 
Posts: 30
Default How will the attendees Calendar get updated?

I have created the calendar using the Zmailbox, to create an appointment. But the attendees calendar is not getting updated.I believe it is so because the mail server is not working. And only when the attendees get a mail and they accept the invitation, then their calendar will get updated.

But don’t want to use the mail. So, is there way to do so? That the attendees calendar gets updated without getting the mail notification?

Here is my code

ZMailbox.ZOutgoingMessage message = new ZOutgoingMessage();
message.setSubject("toTest1");
message.setMessagePart(new MessagePart("text/plain","what is this?"));
ZInvite invite = new ZInvite();
ZComponent comp = new ZComponent();
comp.setStart(new ZDateTime(1216612800000L,false,TimeZone.getTimeZon e("Europe/Brussels")));
comp.setEnd(new ZDateTime(1216612809000L,false,TimeZone.getTimeZon e("Europe/Brussels")));
comp.setOrganizer(new ZInvite.ZOrganizer(zimbraMailBox.getName()));
comp.setName("abc");
ZAttendee z = new ZAttendee();
z.setAddress("rahul.jha@test-desktop.com");
List<ZAttendee> l = new ArrayList<ZAttendee>();
l.add(z);
comp.setAttendees(l);

ZAppointmentResult result = zimbraMailBox.createAppointment("10", null, message, invite, null); invite.getComponents().add(comp);
Reply With Quote
  #2 (permalink)  
Old 07-23-2008, 04:29 AM
Active Member
 
Posts: 30
Default

Is it possible to use the calendar functionality standalone, without zimbra email?
please suggest
Reply With Quote
  #3 (permalink)  
Old 07-24-2008, 06:53 AM
Active Member
 
Posts: 30
Default Unable to cancel Appointment.

I created an apppointment for my myself with two attendees.With the createApoointment in Zmailbox.
Since my attendees calendar was not geting updated.I created separate appointments for them with the same method and kept CalItemId of these with myself(i.e. the organsier).
But if I try to delete the appointment(the organiser), it gives me the message
" Only organsier can cancel the meeting".

Same happens if the attendees tries to delete the meeting inthere calendar.

Does anybody has a clue how to do it?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.