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

    Kopano python: certified emails attachments without names

    Kopano Groupware Core
    1
    1
    134
    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.
    • marlemion
      marlemion last edited by marlemion

      Hi,

      I have experienced that attachments of signed mails are given without name and content_id making it more or less impossible to handle them. Is this a known issue? The mail itself can be read and processed, the attachments filename is empty.

      What I basically do: log into server, select folder, select item, cycle over item.attachments() and print attachment.filename.

      When I print attachment.data, I can see the body of the whole mail starting with

      Content-Type: multipart/signed;
       boundary=----EDA30F60955315714B8F87396C9521B9; micalg=sha-256;
       protocol="application/pkcs7-signature"
      
      This is an S/MIME signed message
      

      The attachments follow therein, but are not recognized by kopano python.

      Cycling over item.attachments(embedded=True) does not help either.

      Thanks in advance!

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