" /> Processing email and add pictures to the body - Genesys CTI User Forum

Author Topic: Processing email and add pictures to the body  (Read 2022 times)

Offline maciek1839

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Processing email and add pictures to the body
« on: July 07, 2018, 03:30:14 PM »
Advertisement
Hello!
I didn't find anything in documentation about add picture to the email body and then send the email to the customer with pictures inside the body, not as normal attachments. I will be very grateful for any help.
Link for screen contains picture inside email body.

[url=https://imgur.com/036vaps]https://imgur.com/036vaps[/url]

EDIT:

I investigated that for any image tag's src attribiute in html  we should generate CID and Genesys should replace during sending the email link for image content. Also in interaction table in database we have field allAttributes and these field should contains these CID but I need more information. Thanks.
« Last Edit: July 07, 2018, 03:33:53 PM by maciek1839 »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Processing email and add pictures to the body
« Reply #1 on: July 07, 2018, 05:34:23 PM »
From where have you got that CID is supported?

Offline maciek1839

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Processing email and add pictures to the body
« Reply #2 on: July 08, 2018, 09:51:19 AM »
The CID is only an identifier for img's src like [b]<img src="image001.png@123123.123123"/> [/b]. I did the test and when the email is received from outside, the pictures from body have src similar to this above and in allAttrbiutes is KVCollection contains these CID with related DocumentId from database so if it supports email from outside, it should also support email from inside (from agents to customer) ? This is my assuption. I think I miss something because when I try to do it the same why, pictures are just attachments and body contains broken links.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Processing email and add pictures to the body
« Reply #3 on: July 08, 2018, 06:36:58 PM »
It is not "just" an identifier, is a standard.
WDE doesn't support all standards, for example, linking the image as a base64. It all depends on the design.
For CID to happen should be a valid MIME inside the content and the WDE developers do something to support it.
As per all documentation, only linking external images is supported in WDE and the whole solution.


Enviado de meu E6633 usando o Tapatalk


Offline maciek1839

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Processing email and add pictures to the body
« Reply #4 on: July 08, 2018, 09:13:17 PM »
Thank you so much, I see and I will check. Do you know if I have to set other attrbiutes in AllAttrbiutes for email? Now I set kvAttachmentsInfo which contains CIDs and related documentId. Is there something else to set for outbound email? Of course in the context of images inside the email body.