locked
Converting item attachments to file attachments RRS feed

  • Question

  • Question:

    Is it possible to force or request from a remote server to convert an item attachment to a file attachment prior to delivery completion to the local exchange server. 

    Reason:

    Remote software system is 3rd party and uses EWS managed API to request attachment information. Item attachments are not accessible and force the emails to go unprocessed. We need to understand how to request, when an email is being delivered to our Exchange Server environment from another, how to convert it to a file attachment.

    Monday, June 29, 2015 11:34 AM

All replies

  • No.

    An ItemAttachment is just an collection of properties that represents an underlying Exchange Item so there is no file type or file, in Outlook these would be compond message files (.msg) but this is an office ole format that EWS doesn't use.

    >> Remote software system is 3rd party and uses EWS managed API to request attachment information. Item attachments are not accessible and force the emails to go unprocessed.

    But what does the software then do with said attachment ?, if your not the vendor of the 3rd party software go back to them and tell them to fix their code (eg you can easily identify Item attachments from File Attachment in EWS and the process them appropriately). The real question is what do you want to do with Attached Exchange Items eg if a Message has an attached task what are you going to do with that Task, contact, calenderitem etc. The processing code will generally need to deal with different attached types different way (eg different types have different properties etc you might deal with an attached contact by creating a VCard file of the contact based on the properties).

    Cheers
    Glen


    Tuesday, June 30, 2015 3:47 AM