Hi All,
So my problem is sending an email that is generated by users in an application, like an email client, where images could be embedded in the email content. For that, we use CK Editor.
When embedding images from the CK Editor the way we typically store those images is in the Database, and to display them there is a link that is a Download.aspx pages that download the content. (fairly regular technique)
If all works well, but when sending an email where the content was dynamically generated, the platform doesn't do the same job as when we simply craft an email on Service Studio with images. (where images are static resources or managed by the platform)
I think there's no clear answer to this problem, also because it varies from mail client to mail client, but is there a way to embed an image on a CK Editor or any other piece of HTML, in Outsystems, without being generated from a *.aspx page?
The fact that my download.aspx is an aspx page, triggers all sorts of alarms in mail clients as they recognize .aspx file extensions as scripting and potentially dangerous, stripping all the images and displaying a warning on the top to open the email content on the browser (that on outlook)
Has anybody been here?
Thanks
Hello José,
I just want to ask if you maybe find a solution to your problem.
We are facing exactly the same case that download page is raising errors inside outlook but so far we were not able to find any good solution for this issue on our own
Hi both, have you tried to ensure that contentType headers are set to something like 'image/jpeg'? The .aspx extension shouldn't be flagged as scripting. Lot of e-mails use .php extensions and even .jpgs which are programs underneath.
Marcin, can you share the errors you are getting?
Hello Anthony,
This is the message that I put in CKE editor
And then when I receive an email I have an empty place from the image and the following message on the top of the email
Regarding content type - No I did not set anything there besides the standard settings
Alguém conseguiu fazer isso?