Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. c#.net meeting request cancellation

c#.net meeting request cancellation

Scheduled Pinned Locked Moved ASP.NET
csharpquestion
5 Posts 3 Posters 7 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Karan_TN
    wrote on last edited by
    #1

    I am coding with C#.NET I created an meeting request and attached to the mail. users able to open it and accept the same. On another scenario, i want to decline the request. so i send an FRESH meeting request attached to the mail with same date & time. this time meeting request is not getting cancelled. So my question is, do the UID need to be unique to cancel the meeting request?

    F 1 Reply Last reply
    0
    • K Karan_TN

      I am coding with C#.NET I created an meeting request and attached to the mail. users able to open it and accept the same. On another scenario, i want to decline the request. so i send an FRESH meeting request attached to the mail with same date & time. this time meeting request is not getting cancelled. So my question is, do the UID need to be unique to cancel the meeting request?

      F Offline
      F Offline
      F ES Sitecore
      wrote on last edited by
      #2

      We don't know how you are implementing "meetings" so how can we possibly know?

      K 1 Reply Last reply
      0
      • F F ES Sitecore

        We don't know how you are implementing "meetings" so how can we possibly know?

        K Offline
        K Offline
        Karan_TN
        wrote on last edited by
        #3

        This is my code :

            DateTime schBeginDate = TimeZoneInfo.ConvertTimeToUtc(Convert.ToDateTime(Convert.ToDateTime("21/08/2015").ToString("dd-MMM-yyyy") + " 12:00 AM"));
            DateTime schEndDate = TimeZoneInfo.ConvertTimeToUtc(Convert.ToDateTime(Convert.ToDateTime("21/08/2015").ToString("dd-MMM-yyyy") + " 11:59 PM"));        
        

        String[] contents = { "BEGIN:VCALENDAR","VERSION:2.0","PRODID:-//TEST","METHOD:REQUEST",
        "BEGIN:VEVENT",
        string.Format("DTSTART:{0:yyyyMMddTHHmmssZ}", schBeginDate),
        string.Format("DTSTAMP:{0:yyyyMMddTHHmmssZ}", DateTime.UtcNow),
        string.Format("DTEND:{0:yyyyMMddTHHmmssZ}", schEndDate),
        "LOCATION:NA", "UID : " + Guid.NewGuid(),
        "DESCRIPTION:Out Of Office",
        "X-ALT-DESC;FMTTYPE=text/html:Out Of Office",
        "SUMMARY:Out Of Office", "STATUS:CONFIRMED","ORGANIZER:MAILTO:" + "test@test.com",
        string.Format("ATTENDEE;CN=\"{0}\";RSVP=TRUE:mailto:{1}", "test", "test@test.com"),
        "BEGIN:VALARM","TRIGGER:-PT15M",
        "ACTION:DISPLAY","DESCRIPTION:Reminder","X-MICROSOFT-CDO-BUSYSTATUS:OOF","END:VALARM",
        "END:VEVENT", "END:VCALENDAR" };

        B 1 Reply Last reply
        0
        • K Karan_TN

          This is my code :

              DateTime schBeginDate = TimeZoneInfo.ConvertTimeToUtc(Convert.ToDateTime(Convert.ToDateTime("21/08/2015").ToString("dd-MMM-yyyy") + " 12:00 AM"));
              DateTime schEndDate = TimeZoneInfo.ConvertTimeToUtc(Convert.ToDateTime(Convert.ToDateTime("21/08/2015").ToString("dd-MMM-yyyy") + " 11:59 PM"));        
          

          String[] contents = { "BEGIN:VCALENDAR","VERSION:2.0","PRODID:-//TEST","METHOD:REQUEST",
          "BEGIN:VEVENT",
          string.Format("DTSTART:{0:yyyyMMddTHHmmssZ}", schBeginDate),
          string.Format("DTSTAMP:{0:yyyyMMddTHHmmssZ}", DateTime.UtcNow),
          string.Format("DTEND:{0:yyyyMMddTHHmmssZ}", schEndDate),
          "LOCATION:NA", "UID : " + Guid.NewGuid(),
          "DESCRIPTION:Out Of Office",
          "X-ALT-DESC;FMTTYPE=text/html:Out Of Office",
          "SUMMARY:Out Of Office", "STATUS:CONFIRMED","ORGANIZER:MAILTO:" + "test@test.com",
          string.Format("ATTENDEE;CN=\"{0}\";RSVP=TRUE:mailto:{1}", "test", "test@test.com"),
          "BEGIN:VALARM","TRIGGER:-PT15M",
          "ACTION:DISPLAY","DESCRIPTION:Reminder","X-MICROSOFT-CDO-BUSYSTATUS:OOF","END:VALARM",
          "END:VEVENT", "END:VCALENDAR" };

          B Offline
          B Offline
          Blikkies
          wrote on last edited by
          #4

          I did not try it myself but what I have read before, to able to cancel a meeting request the Method attribute must be Cancel and the UID must be the same as the original request.

          K 1 Reply Last reply
          0
          • B Blikkies

            I did not try it myself but what I have read before, to able to cancel a meeting request the Method attribute must be Cancel and the UID must be the same as the original request.

            K Offline
            K Offline
            Karan_TN
            wrote on last edited by
            #5

            Thanks a lot for your reply. So i conclude that UID should be same to cancel meeting request. If any deviation, please give me an reply. Once again thanks.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups