locked
DeliverIncomingRequest message - help adding inline attachments RRS feed

  • Question

  • Hi, anyone have any experience of using this message with attachments please?

    I have successfully created [Received] messages and added attachments afterwards, however I've seen that inline attachments need the email body to be modified to replace the src=cid: to linkages to attachments in CRM.

    Yet I can't create the attachments first and pass them into the DeliverIncomingRequest as a need an objectid to create them :-(

    Any insight would be appreciated, Thanks

    Monday, September 19, 2016 10:34 AM

All replies

  • For anyone wondering the resolution - I have found it is possible to add a collection of attachments prior to calling DeliverIncomingEmailRequest - you just have to be careful not to set too many attributes,

    just [body,filename,mimetype,attachmentcontentid].

    CRM will then match attachmentcontentid with any image src in the email body and modify that src to show inline images as well!

    Thanks

    Tuesday, September 20, 2016 10:34 AM