Question
Capgemini
FR
Last activity: 15 Feb 2016 3:28 EST
sending messages with inline images
Hi,
We are on Pega 7.1.9.
We are trying to send emails that have a body filled up by users. They are able to add an image in the body, which is displayed in a rich text box.
but the new control for rich text boxes is putting links to content inside Pega so, once it is send it is still content to Pega and therefore not displayed on client mail software of recipients.
After long researches on internet and mesh, it seems images in emails should be put in attachments and referenced by a cid:UniqueID in the src of the img content inside the html of the body. Or it is possible to encode in base64 the content of the image and put it in the email, no my preferred solution
It seems it is what Pega is doing since 7.1.8 on email received but there is nothing to send email like this.
We are in a special case where we use Exchange webService to connect to an exchange server to receive and send emails. So we also have an issue in received emails to handle the images.
Has anyone already faced this issue, and may be found a solution ?
I have no difficulty to handle the EWS api so I know how to get or set attachments, including how to flag them as inline attachments, the issues are how to deal in pega for :
Hi,
We are on Pega 7.1.9.
We are trying to send emails that have a body filled up by users. They are able to add an image in the body, which is displayed in a rich text box.
but the new control for rich text boxes is putting links to content inside Pega so, once it is send it is still content to Pega and therefore not displayed on client mail software of recipients.
After long researches on internet and mesh, it seems images in emails should be put in attachments and referenced by a cid:UniqueID in the src of the img content inside the html of the body. Or it is possible to encode in base64 the content of the image and put it in the email, no my preferred solution
It seems it is what Pega is doing since 7.1.8 on email received but there is nothing to send email like this.
We are in a special case where we use Exchange webService to connect to an exchange server to receive and send emails. So we also have an issue in received emails to handle the images.
Has anyone already faced this issue, and may be found a solution ?
I have no difficulty to handle the EWS api so I know how to get or set attachments, including how to flag them as inline attachments, the issues are how to deal in pega for :
- Display links to images that are stored as Data-WorkAttach-File objects for inbound emails (little issue will be to parse the bode to look for all img content but that should not be a big deal)
- Download content added by users to move them to attachments with a unique Id.
I would really appreciate your help
Regards