Open joshuarestivo opened 3 weeks ago
Can you share the entire generated URL (you can hide the domain)? Something seems to be wrong in your URL.
The default URL doesn't have an =
after doctype
like in your error: https://github.com/frappe/frappe/blob/v15.36.0/frappe/email/doctype/email_queue/email_queue.py#L334
Do you have a custom email_tracker_read_url
set in the email queue document?
Maybe this is related to email encoding (quoted printable)?
an equal sign at the end of a line indicates a soft line break
Here's how one of the links looks in the emai (domain elided)...
<img src=3D"https://XXX.XXXXX.com/api/method/frappe.core.doctype=
.communication.email.mark_email_as_seen?name=3Dlb418bm6er"/>
email_tracker_read_url has not been customized.
Okay, so the email looks correctly encoded to me… maybe the email client is incorrectly parsing the email for some reason? (cf. the link mentioned above)
The email client is gmail. I doubt that it’s meddling with anything. If I copy/paste the link, it gives the error. We sent about 200 messages to different recipients and not a single one shows as seen. The behavior seems consistent.
On Wed, Aug 21, 2024 at 9:07 AM Corentin Forler @.***> wrote:
Okay, so the email looks correctly encoded to me… maybe the email client is incorrectly parsing the email for some reason? (cf. the link mentioned above https://stackoverflow.com/questions/15621510)
— Reply to this email directly, view it on GitHub https://github.com/frappe/frappe/issues/27461#issuecomment-2302143736, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIYCOIIV4UY35QPGZDYS5G3ZSSNIJAVCNFSM6AAAAABM2J6CLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBSGE2DGNZTGY . You are receiving this because you authored the thread.Message ID: @.***>
The client is gmail so I doubt there's anything unusual going on there. Also, I'm copying and pasting the link manually and getting that error, which rules out the client. The unsubscribe link works fine, it's only the magic pixel link that throws this.
There might be something else inhibiting the pixel tracker, because the value sent is correctly encoded.
https://dencode.com/string/quoted-printable
What does the following report show? https:/YOUR-SITE.COM/app/communication/view/report?communication_date=["Timespan","this+quarter"]&sent_or_received=Sent&_group_by=["`tabCommunication`.`read_by_recipient`",null,"count"]
Magic pixel links are not working. No messages are marked as seen. When you manually visit the magic pixel link embedded in the frappe-sourced email, an error is thrown.
To reproduce:
Versions: Frappe - 15.36.0 ERPNext - 15.31.2
Error: