Logout

Alt-N Discussion Groups > MDaemon Discussion Groups > MDaemon API > Programmatic Access To Calendar Data From .NET

 [F] Alt-N Discussion Groups  / MDaemon Discussion Groups  / MDaemon API  /

Programmatic Access To Calendar Data From .NET

Hi, I'd like to create/read/update/delete a MDaemon users calendar events (appointments) in an automated way from a C#.NET application running on a computer that is not the same computer that MDaemon is running on.

I contacted tech support from the vendor that sold MDaemon to my client but they told me to post in the community forums because the dev(s) monitors the forums and that would be the best hope to get an answer to my query.

The use case is that a business that I've written custom management software for is using MDaemon and they want me to automatically create appointments in each users MDaemon calendar to sync up with the appointments stored in my custom software, which is also pushing those appointments to a google calendar successfully.

In looking through posts here and the documentation i first thought i could write a C# wrapper around the MDCalendar.dll C++ (COM?) library, however the documentation in the MDaemon\API\MDCalendar.html folder is incomplete and i couldn't find an online reference.
I also see here that there is an XML API but in looking at the .htm files in the XML API folder i don't see any reference to calendar events.
I did notice that the events appear to be stored in MDaemon\User\Domain\User\Calendar.imap, in the Calendar.mrk file and can be parsed, however i'm not sure it's safe to edit that file directly to create/edit events.

My question is what is the best method, if any, to interact with the MDaemon calendar programmatically?

  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items

Keith Personett - Jan 16, 2020 1:06 pm (#1 Total: 11)  

 

Photo of Author
Keith Personett
Newbie
Newbie
Posts: 76
Ryan,

You would use the FolderOperation and ItemOperation requests.

There is both documentation and examples in the XmlApi Help portal and on disk.

Keith Personett - Jan 16, 2020 1:31 pm (#2 Total: 11)  

 

Photo of Author
Keith Personett
Newbie
Newbie
Posts: 76
It should also be noted that the FolderOperation and ItemOperation requests are new in releases after March 2019. What version of MDaemon is your client running?

Replies to this message
  • Ryan Tomko (Jan 16, 2020 4:25 pm)


  • Keith Personett (apparently) - Jan 16, 2020 1:13 pm (#3 Total: 11)  

    via email  

    Photo of Author
    Keith Personett
    Newbie
    Newbie
    Posts: 76

    It should also be noted that the FolderOperation and ItemOperation requests are new in releases after March 2019. What version of MDaemon is your client running?

     

    Keith Personett

    Senior Software Developer, Cerebro Calibration Specialist, Agent of S.H.I.E.LD., Helicarrier Systems Analyst

    MDaemon Technologies http://www.mdaemon.com/ or on Facebook

    Sent using Outlook 2013 via ActiveSync Services for MDaemon Messaging Server.

    I 16 1018

    "You get hurt, hurt 'em back. You get killed... walk it off!"

    
    --MD-API-------------------------------------------------------------
    This list is for questions and discussions regarding MDAEMON's API.
    To unsubscribe from this mailing list send an email to
    md-api-unsubscribe@mdaemon.com .
    --POWERED BY MDAEMON!------------------------------------------------
    
    ---------------------------------------------------------------------
    These forums are provided by MDaemon Technologies for user-to-user 
    support and discussion.  MDaemon staff members may participate in the 
    forums periodically but please recognize that this is not the official
    method of receiving technical support. To receive personal technical 
    support please use the form here:
    http://www.mdaemon.com/support/request_support.asp
    ---------------------------------------------------------------------
    

    Keith Personett (apparently) - Jan 16, 2020 12:41 pm (#4 Total: 11)  

    via email  

    Photo of Author
    Keith Personett
    Newbie
    Newbie
    Posts: 76

    Ryan,

     

    You would use the FolderOperation and ItemOperation requests.

     

    There are examples in the XmlApi Help portal and on disk.

     

    Keith Personett

    Senior Software Developer, Cerebro Calibration Specialist, Agent of S.H.I.E.LD., Helicarrier Systems Analyst

    MDaemon Technologies http://www.mdaemon.com/ or on Facebook

    Sent using Outlook 2013 via ActiveSync Services for MDaemon Messaging Server.

    I 16 1018

    "You get hurt, hurt 'em back. You get killed... walk it off!"

                    - Steve Rogers/Captain America


    Ryan Tomko - Jan 16, 2020 4:25 pm (#5 Total: 11)  

     

    Photo of Author
    Ryan Tomko
    Newbie
    Newbie
    Posts: 4
    Replying to: Keith Personett (Jan 16, 2020 1:31 pm)
    It should also be noted that the FolderOperation and ItemOperation requests are new in releases after March 2019. What version...

    Thanks. They are running version 19.5.3.

    What is the URL for the online reference/documentation for the XML API? They had copied over an older version of the Docs/API folder to me which had stale info for the XML API. I'll request a fresh copy and look for FolderOperation and ItemOperation details.



      (newer msg:6)All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items



     Content:

    Read New | Search

     Guest:

    Email to Admin



    You are visiting as a Guest user.