Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When using the unsubscribe token, e.g.
<a href="[simplenews-unsubscribe-url]">Unsubscribe</a>
it brings the user to www.example.com/newsletter/confirm/remove, and not www.example.com/newsletter/confirm/remove/##UID##
causing the page to throw a 404 error. I checked the logs and it is not a permission denied error which I saw through searching previous issues was a problem in the past.
Any assistance would be greatly appreciated!
-Chris
Comments
Comment #1
CLKeenan CreditAttribution: CLKeenan commentedJust noticed something... within the email headers, it does contain the unsubscribe link:
List-Unsubscribe:
Comment #2
CLKeenan CreditAttribution: CLKeenan commentedAny help with this?
Comment #3
BerdirAre you sure that you are using a mail address which actually *is* subscribed?
This is the expected behavior when you send a test mail to a mail address which is not subscribed.
While it could be classified as a bug, it's not clear what's supposed to happen because there can't be correct unsubscribe url.
Comment #4
CLKeenan CreditAttribution: CLKeenan commentedYes, the email address is definitely on the subscriber list.
The weird thing is, the simplenews-newsletter-footer.tpl.php unsubscribe link comes through just fine with the UID at the very bottom of the email.