[Answer]-Deferred email sending in django?

1👍

Celery can fit your need.

First set up a celery task:

@task
def sendmail():
    pass

Send a mail later, an example from the doc:

from datetime import datetime, timedelta

tomorrow = datetime.now() + timedelta(days=1)
sendmail.apply_async(args=[], eta=tomorrow)
👤iMom0

Leave a comment