Hello,
I'm not sure, if this is a bug or if I missed something.
I use the latest 2.x-dev-version of simplenews.
The unsubscribe-link in the newsletter seems to be right (example.com/de/confirm/remove/[generated ID], and if I click this link, I get on the confirmation-page. After clicking "Unsubscribe" I'm redirected to the homepage (I didn't set up a special landing-page for that), BUT the mail-address is still in the list.
I have no idea, where to look for a solution. The subscribe-process works fine.
The unsubscribe-process doesn't show up in the simplenews-log.
I checked the permissions: anonymous has permission to subscribe.
And a mail is send to admin, that someone subscribed, but the token still don't work in my case, so I don't get an email-address, or is that the same problem?
I have to send the very first newsletter to more than 6000 addresses tomorrow and it is "embarrassing", if people use our unsubscribe-link and in a couple of months they get another newsletter.
Any idea?
Comments
Comment #1
krabbe commentedI'm still testing, but more like searching a needle in a haystack.
I checked the redirecting after the unsubscribe-message. It works.
I checked, what happens, if the test-newsletter is sent to an unsubscribed mail-address: No confirmation-message shows up and the redirection-page is directly loaded.
If I send test-newsletter to a subscribed mail-address and use the unsubscribe-link in the footer, the confirmation shows up, the redirect works, but the address stays active in the subscription-list.
In the recent log entries only the "send test-newsletter"-process is logged, I can't find any logs about unsubscribing...
Any help is very much appreciated, thank you.
Comment #2
sutharsan commentedIt is confusing indeed. Unsubscribed addresses are still listed and are exported, but emails are not sent to them. At least that part is working correctly :/ In simplenews 6.x-2.x a new column 'status' is introduced in the simplenews_snid_tid table. 1 = subscribed; 0 = unsubscribed. But this is apparently not yet included in the queries for the subscriber list and subscriber export. If you can write code I would appreciate a patch. Or even better, a patch that includes a subscribed/unsubscribed filter in the subscriber list page.
Comment #3
mr.andrey commentedsubscribing...
Comment #4
wqmeng commented1.3 still not work too.
Comment #5
simon georges commentedIsn't it a duplicate of #884348: Unsubscribed users not filtered in newsletter subscriptions page ?
Comment #6
miro_dietikerHmm unsure.
At least there's the issue from Sutharsan about the missing filter in administration parts. (i already fixed)
I'm leaving the issue here because this error is something different to the regular daily permission issue.
Comment #7
miro_dietikerSending a test newsletter to an unsubscribed user leads to "wrong" unsubscribe links.
Thus they should be removed or replaced by a clear dummy element - instead of a link that looks like it should work.
I've added a documentation note to the footer .tpl.php and in code.
In addition i've tested sending a newsletter to a subscribed user and the unsubscription link worked perfectly. Also with redirect.
Note that permissions need to allow unsubscription for anonymous users in current implementation.