First time here? Check out the FAQ!
0

Askbot not sending subscription emails
 

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
sarbjit's avatar
1
sarbjit
asked 10 years ago, updated 10 years ago

Comments

see more comments

1 Answer

0

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 10 years ago
link

Comments

see more comments