Jump to content

Recommended Posts

Posted (edited)

Dear IPS support,

there is a bug in the bulkmail logic when using SendGrid as external provider.

The unsubscribe link in the send email is not valid. The reason for that is the "ClickTracking" logic.

What's happening:

applications/core/extensions/core/Queue/Bulkmail.php => function "run" calls "mergeAndSend" in SendGrid implementation.

Could contain: Page, Text

 

The mergeAndSend calls "compileContent" with member-parameter FALSE

Could contain: Text

 

"compileContent" creates the mail content, including the unsubscribe link.

Could contain: Page, Text, File, Webpage

 

Later in the code/function the "ClickTracking" is added.
IMPORTANT HINT: The place holders for email and unsubscribe key are not yet substituded in href.

Could contain: Page, Text, File, Webpage

 

The "ClickTracking" logic adds an hash value based on the email and unsubscribe key (not yet set).

Could contain: Page, Text, File

 

Back in "mergeAndSend" the placeholders are substituded in the content.

Could contain: Page, Text, File, Webpage

 

The substituion is to late for the hash calculation in the ClickTracking function during content creation.

 

As consequence, the unsubscribe link in the email is invalid because of the invalid hash value!
Currently, we have multiple support requests because of this issue.

This happens only when using SendGrid, the "normal" Email logic is working correctly.


The bug invesitgation is done from my end, now it's your turn to fix this bug as soon as possible. 🙂 

 

Hint:
There is no need for access to my communitiy suite. The isse can be reproduced in every dev-environment, once SendGrid is activated and you try to send a bulk.

 

Edited by derpunker
Posted

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

 

  • 2 weeks later...
Posted

It is not noted in the release notes, so I would venture a guess to say no. And given that releases take several weeks to prep/lock, and that this issue was only confirmed a week ago… I would highly doubt it. 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...