Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image attachments for scheduled reports not working in Outlook #20183

Open
Starker3 opened this issue Jan 9, 2023 · 1 comment
Open

Image attachments for scheduled reports not working in Outlook #20183

Starker3 opened this issue Jan 9, 2023 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Consistent Reports & Analytics UX For bugs and features that make Analytics reporting UI behave more consistently. c: Email Reports For bugs and features related to their analytics reports received by email.
Milestone

Comments

@Starker3
Copy link
Contributor

Starker3 commented Jan 9, 2023

For HTML based email reports, there seems to be certain circumstances where Outlook shows a "Attachment not found" error related to how the images are attached, for example:

<img data-imagetype="AttachmentByCid" data-imageerror="AttNotFound" originalsrc="cid:CustomReports_getCustomReport_idCustomReport--10" border="0" id="x__x0000_i1028" style="width:524.99pt;height:149.99pt;">

However, the same email reports work in other mail providers, such as Gmail.

After some further investigation, it seems that this post is perhaps related: https://answers.microsoft.com/en-us/outlook_com/forum/all/cid-image-embeds-are-not-loading-properly-in/37cef54a-e9cf-4591-9f39-a0b5e539b178

The post above mentions that in order for the cid images to load, they needed to change the code to change where the image is attached (See second last post)

@Starker3 Starker3 added Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Jan 9, 2023
@bx80
Copy link
Contributor

bx80 commented Jan 9, 2023

Good find @Starker3, we should be able to use that example code adjust how we generate the multipart mime attachment so it's in the format outlook wants 👍

@bx80 bx80 added Bug For errors / faults / flaws / inconsistencies etc. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Jan 9, 2023
@bx80 bx80 added this to the For Prioritization milestone Jan 9, 2023
@mattab mattab modified the milestones: For Prioritization, 5.3.0 Mar 26, 2023
@mattab mattab added c: Consistent Reports & Analytics UX For bugs and features that make Analytics reporting UI behave more consistently. c: Email Reports For bugs and features related to their analytics reports received by email. labels Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Consistent Reports & Analytics UX For bugs and features that make Analytics reporting UI behave more consistently. c: Email Reports For bugs and features related to their analytics reports received by email.
Projects
None yet
Development

No branches or pull requests

3 participants