Support » Plugin: MailPoet - emails and newsletters in WordPress » Incorrect ‘More’ links in post notifications

  • Resolved danbooth

    (@danbooth)


    Hi,

    my client has been using Mailpoet post notifications for a long time without any problems – until now. They are a recruitment company who use this feature to send ‘Job Alerts’ to their mailing list, so it’s a very important part of their business.

    They contacted me this morning, because someone was having problems clicking through to a post from one of the emails. When they clicked the ‘view more’ link (or the post title), they were taken to a page displaying the following error message:

    You don't have authorisation to view this page.
    HTTP ERROR 403

    I’m subscribed to the post notifications, so the first thing I did was to check the links in the email I’d received. They worked fine.

    Next I got my client to forward me the email that the customer was having problems with. In the email they’d received the links were different and they didn’t work. Here’s the link from their email:

    https://u3392129.ct.sendgrid.net/wf/click?upn=vyklu2q-2FHOhatTwVonnUtqN7UM4Amd6CVQmMm-2B1uyNHJI2Kh7BirhikkFriJIVuJryBfNbyMkn32lbgTuTc-2FXHR592jPkYgOJWN1XTQY57rTpY0fX1iwqbricjz1ADSTEeR4a2p6C0EvJQHcreTO6-2FG0FkTPDVdqXDviZizAn7hut-2FWC9dROQ8D5Ogu7okfntvm99FcZGI6BG-2ByYrEfr1EnS-2FKkRA0c4-2FfM0HCJwApUY0nyxUx-2F2IITEu3xMZZaI_IUKGK9XTurACq54Ogzesno4ZN-2FiuLyWJ6c642pFjhmH9-2BvefytZ9UZAVFIq0BzQOGlCh5PdRTTElpmFAAVPOXST354Bgw76-2FbKUqkYw9Y13H-2BrFCHMHNGnxG-2Byiez6rXNRkFOBggm2ufKU-2FsUuR0tE8nBVtYxbULkABXYYT61MM-2FmPAYigRM-2B-2BSfmb9ljKx4cYOfFQj-2BtHrhA8qh-2Butl0G8rFqOEg6xZRvVKfr-2FM1i0-3D

    Does anyone know why this has happened? What can I do to prevent it happening again?

    Technical info:

    Plugin version: 3.26.0 at time the post notification was sent (2 days ago). I have since upgraded to 3.34.4 (before I was even aware of the issue).
    Wordpress version: 5.5.2
    PHP version: 7.2.21
    Theme: Divi

    Some additional information:

    Yesterday, around the time I was updating the plugin, I received a “Your Site is Experiencing a Technical Issue” email relating to MailPoet:

    Error Details
    =============
    An error of type E_ERROR was caused in line 28 of the file /home/xxxxx/public_html/wp-content/plugins/mailpoet/lib/Util/Notices/UnauthorizedEmailNotice.php. Error message: Uncaught Error: Class 'MailPoet\Services\AuthorizedEmailsController' not found in /home/xxxxx/public_html/wp-content/plugins/mailpoet/lib/Util/Notices/UnauthorizedEmailNotice.php:28
    Stack trace:
    #0 /home/xxxxxxxxxx/public_html/wp-content/plugins/mailpoet/lib/Util/Notices/PermanentNotices.php(56): MailPoet\Util\Notices\UnauthorizedEmailNotice->init(false)
    #1 /home/xxxxx/public_html/wp-content/plugins/mailpoet/lib/Config/Initializer.php(319): MailPoet\Util\Notices\PermanentNotices->init()
    #2 /home/xxxxx/public_html/wp-content/plugins/mailpoet/lib/Config/Initializer.php(200): MailPoet\Config\Initializer->setupPermanentNotices()
    #3 /home/xxxxx/public_html/wp-includes/class-wp-hook.php(286): MailPoet\Config\Initializer->initialize('')
    #4 /home/xxxxx/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #5 /home/xxxxx/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #6 /home/xxxxx/public_html/wp-settin 

    When I was carrying out the plugin updates, a couple of post notifications came through. So I presumed there was a process going on, and the plugin update had interrupted it. So is this unrelated to the issue with the links? Should I ignore this warning?

    Any help or advice would be much appreciated.

    • This topic was modified 5 months, 2 weeks ago by danbooth.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author MailPoet

    (@wysija)

    Hi there @danbooth,

    When I was carrying out the plugin updates, a couple of post notifications came through. So I presumed there was a process going on, and the plugin update had interrupted it. So is this unrelated to the issue with the links? Should I ignore this warning?

    Yep, ignore that warning it’s unrelated to the issue. 🙂

    Does anyone know why this has happened? What can I do to prevent it happening again?

    So the link you posted has Sendgrid tracking parameters appended. We’re assuming you are using Sendgrid for sending, correct?

    If you are do you also have MailPoet open and click tracking enabled in your wp-admin > MailPoet > Settings > Advanced? If you do, you’ll need to disable either the Sendgrid click tracking or the MailPoet click tracking and then it’ll work correctly.

    Thanks!

    Hi @wysija, thanks for the quick response.

    So that’s a bit confusing. We’re actually using the Mailpoet sending service.

    We were testing out some SMTP plugins for use with Contact Form 7 around the time that this happened – but we weren’t using Sendgrid – unless one of the SMTP plugins we tested defaulted to Sendgrid initially? We never changed the sending settings in Mailpoet itself, but would it have been technically possible for an SMTP plugin to take control of how Mailpoet sends without us adjusting the Mailpoet settings?

    Also, another question… not all the post notifications had the Sendgrid links, some were ok. I’m presuming for this to happen Mailpoet must render the emails in batches, or render the links as each email is sent. Is that the case? Just trying to understand how some of the emails had the Sendgrid tracking and some didn’t.

    Thanks

    Hi @wysija,

    I’ve worked out what happened. It turns out that my client had forwarded on an email to one of their clients. It seems that their email system adds the Sendgrid tracking code. So it’s nothing to do with Mailpoet, or WordPress!

    So the issue is resolved 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.