First time here? Check out the FAQ!

What is required for instant email notifications?

The cron job is successful in sending daily updates... but no one is receiving "immediate" updates. What is required to enable them?

jimt's avatar
asked 2012-05-08 05:12:59 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

2 Answers


Each user should configure the way he prefers to receive email notifications. The way to do it is

user profile overview (at the top left of the screen press on user name) -> subscriptions

alexandros.z's avatar
answered 2012-05-08 06:45:23 -0500
edit flag offensive 0 remove flag delete link



Yes, the default is not to send instant notifications, but it can be changed in the site settings. It is possible that it is worth enabling them by default. What do you guys think?

Evgeny's avatar Evgeny (2012-05-08 09:19:01 -0500) edit

Some users have selected immediate notifications, but none are sent through the SERVER_EMAIL configured in In addition to subscribing, what additional configuration is necessary to send immediate notifications with 0.7.42?

jimt's avatar jimt (2012-05-08 16:07:48 -0500) edit

Nothing else should be needed. Do they have immediate notifications on all posts? Maybe they are filtered out by tags or other settings? The thing is that there are test cases for emails and they all pass, so it should just work. I would suggest in your case - debug with pdb. Is the send_mail function called successfully?

Evgeny's avatar Evgeny (2012-05-08 16:19:51 -0500) edit

One more thing that can go wrong - celery setup. Instant emails are sent via celery jobs - to allow asynchronous email sending. By default celery is disabled by CELERY_ALWAYS_EAGER=True and use of the local database as job queue storage. With the default settings instant email should be sent.

Secondly - set up "instant" email in all categories in your subscriptions - at least just for the test.

Evgeny's avatar Evgeny (2012-05-08 16:53:14 -0500) edit

I don't have celery set up, and instant emails only occasionally send.

Joseph's avatar Joseph (2012-07-26 19:29:30 -0500) edit
add a comment see more comments

I have these configurations in my, try to set these fields and see if it worked

EMAIL_HOST_USER = 'your_mailbox_name'
EMAIL_HOST_PASSWORD = 'your_mailbox_password'
EMAIL_SUBJECT_PREFIX = '[yourAskbotApp]'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

zaf's avatar
answered 2012-05-08 16:20:22 -0500
edit flag offensive 0 remove flag delete link


Thanks. I have similar settings, and as I said, they seem to work fine for the cron triggered jobs, but no immediate mail is sent.

jimt's avatar jimt (2012-05-08 16:22:10 -0500) edit

Anything appears in the log file maybe that could help somehow?

zaf's avatar zaf (2012-05-08 16:30:06 -0500) edit

Have you also checked on /settings/EMAIL/ ?

zaf's avatar zaf (2012-05-08 16:33:14 -0500) edit
add a comment see more comments