mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
9 lines
209 B
Python
9 lines
209 B
Python
from celery import shared_task
|
|
|
|
from utils.mail import send_email
|
|
|
|
|
|
@shared_task
|
|
def _send_email(from_name, to_email, to_name, subject, content):
|
|
send_email(from_name, to_email, to_name, subject, content)
|