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

    contacts2suggested.py

    Kopano WebApp
    1
    2
    377
    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.
    • klausf
      klausf last edited by

      Hello,

      I refer to the following older thread:

      Re: Autocomplete email addresses when typing

      There I got a link to a script that doesn’t exist anymore:

      https://stash.kopano.io/projects/KSC/repos/core-tools/browse/contacts2suggested.py

      Now I found the script locally on my disk and tried to export all contacts of a user to a file for use to import with manage_recipients.py. This procedure worked a time ago.

      Now the execution of the script causes an error:

      kopano.errors.NotFoundError: no such property: 0x8133001f
      

      The relevant part of the script:

      for contact in user.store.contacts:
                  try:
                      email = contact.prop(0X8133001F).value
      

      Does someone know the correct address for this value. Or a link to a working script?

      Thanks
      Klaus

      klausf 1 Reply Last reply Reply Quote 0
      • klausf
        klausf @klausf last edited by

        Solved.
        Found the new working script now:
        https://stash.kopano.io/projects/KSC/repos/core-tools/browse/contacts2suggested/contacts2suggested.py

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