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

    Automatic attachement extraction

    Kopano Groupware Core
    2
    2
    160
    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.
    • Robert
      Robert last edited by

      Does anybody has an idea how to automatically extract an attachment from a mail arriving at a kopano mailbox.
      The challenge is to copy the attachment somewhere to the filesystem where it can be further prcessed by a script.

      robing 1 Reply Last reply Reply Quote 0
      • robing
        robing Kopano (Inactive) @Robert last edited by

        @Robert

        Do you want download this on the server side?
        If so you have 2 options to do this.

        You can create a dagent plugin this will check every incoming mail.
        This is a example that move larger items then x to a different folder but you can use at as a base https://nextcloud.kopano.com/index.php/s/tMmyYmHfmCTYcQa
        Please keep in mind that this script was written for Zarafa so probably you need to change some code and for Kopano you can use python-kopano and this make the script a lot easier

        The other option is to use the ICS handler in Kopano to track the changes from a user.
        See the documentation for python-kopano https://documentation.kopano.io/kopano_python_kopano/synchronization.html#ics

        Regards Robin,

        Need support?
        Have a look at https://kopano.com/support/ for options.

        Helpful resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

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