Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    DAgent Plugin PreDelivery communication PHP MAPI

    Scripting
    1
    2
    676
    Loading More Posts
    • 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.
    • andries
      andries last edited by

      Hi all,

      Is it possible to grep a message in PHP MAPI with the known PR_ENTRYID that I request via python kopano-dagent plugin PreDelivery method?

      Normally, I open a message in PHP MAPI with mapi_msgstore_openentry(), but when I request this (via HTTP request) in PreDelivery phase, the mailitem is not found yet. This makes sense of course.

      Is there a way in PHP MAPI to get a message by entryid that is not in the definitive store yet?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • andries
        andries last edited by

        I have found a workaround that works for me. I do the request in PostDelivery and delete the mailitem in PHP MAPI.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post