One of my user continue to receive notifications email even if he chose to not receive any emails.
Does it ever happened for you ?
If it has, how did you fix it ?
I found what was wrong :
In models/posts.py, in get_global_instant_notification_subscribers, you used the q_all feed type with i frequency filter only for exclude ignored tags and for only interesting tags, but NOT for show all tags tag filter.
Just have to change the part :
#segment of users who have tag filter turned off
global_subscribers = User.objects.filter(
email_tag_filter_strategy = const.INCLUDE_ALL
)
subscriber_set.update(global_subscribers)
to :
#segment of users who have tag filter turned off
global_subscribers = User.objects.filter(
email_tag_filter_strategy = const.INCLUDE_ALL
)
if global_subscribers:
instant_subscribers = EmailFeedSetting.objects.filter_subscribers(
potential_subscribers = global_subscribers,
feed_type = 'q_all',
frequency = 'i'
)
subscriber_set.update(instant_subscribers)
and it works well.
As askbot has multiple sign-in options, he might have used another account.
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2012-08-31 07:18:25 -0500
Seen: 80 times
Last updated: Sep 03 '12
email for comments: link missing a href [fixed]
Is instant email tag filtered? [fixed]
How to get askbot to respect EMAIL_SUBJECT_PREFIX?
Why is my inbox icon still red even when my inbox is empty?
feedback email sent to inactive users
Content-Type header at the beginning of a feedback email
email sent : link to change the subscriptions displayed an error page if the user is not logged in
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
We have reports like this one. We'll be adding logging for emails sent in the debug mode to fish this out. Could that user send his/her level of subscription frequency? Is he/she an admin/moderator? Thanks.
Evgeny ( 2012-08-31 08:48:54 -0500 )editHe isn't admin nor moderator. Apparently he once was notified instantly, and since he set all notifications on "no emails", he apparently still receives notifications as when it was instantly.
bgenevaux ( 2012-08-31 08:51:34 -0500 )editHe might have another account where the subscription is still on. I have never seen a case where all subscriptions are off and the user still gets the alerts.
Evgeny ( 2012-08-31 09:42:20 -0500 )editI'll check this out, thanks !
bgenevaux ( 2012-08-31 09:47:35 -0500 )edit