Ask Your Question
0

Askbot not sending subscription emails

asked 2014-12-14 22:22:20 -0500

sarbjit gravatar image

updated 2014-12-14 22:46:46 -0500

I am new to Askbot and I am having some problems while configuring it.

I have subscribed to get instant mails for all the activities including getting emails for questions asked by me.

I am able to get emails from the feedback form but I am not getting other email - including on asking new question, answering a question. Can some one please help me or point me on what and where to debug?

I have even tried the send_email_alerts command as well

EDIT

I debugged it little bit using pdb, and found "feed.should_send_now()" is returning False.

**138 for feed in user_feeds: 139 if feed.should_send_now() == True: 140 should_proceed = True 141 break


I am not having any idea about feed object.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-12-19 02:56:13 -0500

Evgeny gravatar image

The ...should_send_now() function is called from from the "send_email_alerts" command. Returns false if specific subscription (called internally "email feed") should not be reported at the moment.

If you are not receiving instant alerts, it must be due to something else. A way to start troubleshooting is to create an admin account and set all subscriptions to "instant" in the user profile -> subscriptions. Then log in as other user and make a post.

If you are not getting a notification, the first place look into would the mail log file.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2014-12-14 22:22:20 -0500

Seen: 88 times

Last updated: Dec 19 '14