Sign In  Sign Up Live-Chat

How to cancel an iCalendar event

Last post 01-02-2009, 2:03 PM by saqib.razzaq. 23 replies.
Page 1 of 2 (24 items)   1 2 Next >
Sort Posts: Previous Next
  •  10-31-2007, 10:52 AM 100800

    How to cancel an iCalendar event

    The main product overview for Aspose.Network states that it can cancel an iCalendar event.  Since the wiki is mostly broken (access denied), I could not determine how this is done.

    Could you please provide a code example of how to do this?

    Thanks!

    Dan Thayer
    P.S. If it matters, I am using Outlook and Exchange Server.


    Communicate - Collaborate - Educate
    www.stratosfour.com
     
  •  11-02-2007, 3:05 AM 100991 in reply to 100800

    Re: How to cancel an iCalendar event

    Hello,

    Our support engineer is working on this. We will get back to you soon.

    Thanks,


    Team Lead
    Aspose Guangzhou Team
    About Us

    Contact Us
     
  •  11-08-2007, 1:22 PM 101807 in reply to 100800

    Re: How to cancel an iCalendar event

    Hello,

    It is not supported in current release. Our developer is working to add this feature to the coming release.

    Thanks for your patience.


    Team Lead
    Aspose Guangzhou Team
    About Us

    Contact Us
     
  •  12-28-2007, 9:57 AM 107313 in reply to 101807

    Re: How to cancel an iCalendar event

    Do you have any updated information about when this will be released?

    Thanks!

    Dan


    Communicate - Collaborate - Educate
    www.stratosfour.com
     
  •  01-01-2008, 8:43 PM 107430 in reply to 107313

    Re: How to cancel an iCalendar event

    Hello, Dan,

    We are still working on this feature. Some techincal difficulties are encounted. We will keep you posted for the latest progress.

    Thanks for your patience.


    Team Lead
    Aspose Guangzhou Team
    About Us

    Contact Us
     
  •  03-03-2008, 12:41 PM 115917 in reply to 107430

    Re: How to cancel an iCalendar event

    Just checking in for the latest status update.

    Thanks!

    Dan


    Communicate - Collaborate - Educate
    www.stratosfour.com
     
  •  03-05-2008, 9:30 AM 116310 in reply to 115917

    Re: How to cancel an iCalendar event

    Sorry, we have put our resource on the SSL SMTP, SSL POP3, SSL IMAP and S/MIME feature implmentation.

    The Calendar feature is sleeping. Because we are rewriting the Eml reader/writer. We need to add iCalendar reader after the code changes.

    Do you have any ETA for this feature in your project? I will try the best push the feature out.


    Team Lead
    Aspose Guangzhou Team
    About Us

    Contact Us
     
  •  03-05-2008, 9:49 AM 116314 in reply to 116310

    Re: How to cancel an iCalendar event

    Well our ETA was about 4 months ago when we thought this feature was already implemented.  I would say that ASAP is our new ETA.  The moment you have this feature completed we will be able to immediately make use of it.

    Thanks!

    Dan


    Communicate - Collaborate - Educate
    www.stratosfour.com
     
  •  06-23-2008, 1:41 PM 132611 in reply to 116314

    Re: How to cancel an iCalendar event

    Hi Aspose,

    Will this feature be included anytime soon? It would be great if we can mark the Meeting with a unique number so that when we send an update or cancel, we can pass in same number and Outlook will know what to do.

    Thanks!

     
  •  07-22-2008, 12:46 PM 136487 in reply to 132611

    Re: How to cancel an iCalendar event

    Hi Aspose,

    Will this feature be included anytime soon? It would be great if we can mark the Meeting with a unique number so that when we send an update or cancel, we can pass in same number and Outlook will know what to do.

    Thanks!

     
  •  07-24-2008, 10:27 AM 136787 in reply to 136487

    Re: How to cancel an iCalendar event

    Hi,

    We are working on this feature and will post here when its available.


    Best Regards,

    Saqib Razzaq
    Support Developer
    Aspose Guangzhou Team

     
  •  08-05-2008, 12:00 PM 138426 in reply to 136787

    Re: How to cancel an iCalendar event

    Hi,

    Thanks for your response - was anything included in the 4.0 release?

    Thanks!

     
  •  08-24-2008, 5:07 AM 141039 in reply to 138426

    Re: How to cancel an iCalendar event

    Attachment: Present (inaccessible)

    Hello, avi,

    In order to send cancel event request, you have to first save the message to file, then load the calendar and create the cancel request. Please try the sample and hotfix, let me know if it works.

    Here is the sample code:

    1. First send the meeting request and save the message to file

    //send meeting request
    MailMessage msg = new MailMessage();
    msg.From = "organizer@domain.com";
    //attendees for the event
    MailAddressCollection attendees = new MailAddressCollection();
    attendees.Add(new MailAddress("attendee1@domain.com"));
    attendees.Add(new MailAddress("attendee2@domain.com"));
    msg.To = attendees;
    //create calendar
    Calendar cal = new Calendar("Room 113", new DateTime(2008, 8, 25, 15, 0, 0), new DateTime(2008, 8, 25, 16, 0, 0), msg.From, attendees);
    cal.Summary = "Release Meetting 113";
    cal.Description = "Discuss for the next release";
    //add calendar to the message
    msg.AddCalendar(cal);
    msg.Save("message.eml");
    //send the email message
    SmtpClient smtp = new SmtpClient("smtp.server.com","user","password");
    smtp.Send(msg);

    2. Load the message files and get the calendar information.
    //load the mail message
    MailMessage msg = MailMessage.Load("message.eml");
    //get the meeting calendar from the message
    msg.AlternateViews[0].Save(@"meeting.ics");

    3. Create cancel calendar object from the ics files, add it to MailMessage Object's AlternativeViews

    //create cancel request based on the meeting request
    AlternateView v = Calendar.CreateCancelRequestFrom(@"meeting.ics");
    msg = new MailMessage();
    msg.AlternateViews.Add(v);
    msg.Subject = "Cancel: Release Meetting 113";
    msg.From = "organizer@domain.com";
    //attendees for the event
    MailAddressCollection attendees = new MailAddressCollection();
    attendees.Add(new MailAddress("attendee1@domain.com"));
    attendees.Add(new MailAddress("attendee2@domain.com"));
    msg.To = attendees;
    SmtpClient smtp = new SmtpClient("smtp.server.com","user","password");
    smtp.Send(msg);


    Team Lead
    Aspose Guangzhou Team
    About Us

    Contact Us
     
  •  08-24-2008, 1:08 PM 141046 in reply to 141039

    Re: How to cancel an iCalendar event

    Hi Iret,

    Thanks for your response.

    1. Instead of saving the entire message as a file and then loading it later on, is there a way to exract a unique ID from the message, save it to the DB and then populate it later on to send a Cancel?

    2. Is there a way to receive the meeting's response and know where it is coming from based on the ID (accept, reject...)?

    Thanks!

     
  •  08-25-2008, 3:25 AM 141080 in reply to 141046

    Re: How to cancel an iCalendar event

    Thanks for your inputs.

    1. At least we need to save the calendar information if you don't want to save the whole message to disk. Let's say, after you send the meeting request, save the calendar information to db or disk. Then load them and generate the cancel request. Because we need the information like attendee, timezone, unique id, sequence .. from the calendar itself.

    2. I will do some investigation and get back to you shortly.

    If you have any issues, feel free to let me know.

    Cheers,

     


    Team Lead
    Aspose Guangzhou Team
    About Us

    Contact Us
     
Page 1 of 2 (24 items)   1 2 Next >
View as RSS news feed in XML