First time here? Check out the FAQ!

Revision history  [back]

How does askbot send email notifications?

I configured the mailbox in settings.py file for email settings and its working fine.

I was checking the askbot code for email alerts ( send_email_alerts) and how askbot email-alerts work.

But, I did not understand how -- the email-alert concept works!

I have doubts -

  1. Posting the answer Submit-Button takes a lot of time in cases where - there are users subscribed/following that question via email.

    • Is this slow because on-submit, the email is not sent asynchronously? (should I use celery for background email sending?)
  2. what is the purpose of that cron job? i.e send_email_alerts?

    • What does that cron job do? Should I configure that separately?

thanks.

How does askbot send email notifications?

I configured the mailbox in settings.py file for email settings and its working fine.

I was checking the askbot code for email alerts ( send_email_alerts) and how askbot email-alerts work.

But, I did not understand how -- the email-alert concept works!

I have doubts -

  1. Posting the answer Submit-Button takes a lot of time in cases where - there are users subscribed/following that question via email.

    • Is this slow because on-submit, the email is not sent asynchronously? (should I use celery for background email sending?)

  2. what is the purpose of that cron job? i.e send_email_alerts?

    • What does that cron job do? Should I configure that separately?

thanks.

How does askbot send email notifications?

I configured the mailbox in settings.py file for email settings and its working fine.

I was checking the askbot code for email alerts ( send_email_alerts) and how askbot email-alerts work.

But, I did not understand how -- it the email-alert concept works!

I have these doubts -

  1. Posting the answer Submit-Button takes a lot of time in cases where - there are users subscribed/following that question via email.
  2. Is this slow because on-submit, the email is not sent asynchronously?

  3. what is the purpose of that cron job? i.e send_email_alerts?

    • What does that cron job do? Should I configure that separately?

thanks.