mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 16:33:22 +00:00
8 lines
222 B
Python
8 lines
222 B
Python
|
# coding=utf-8
|
||
|
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)
|