blob: 1613646821d0363985e577080dc2bc22fe3a33a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# -*- coding: utf-8 -*-
from celery import task
from sfaccount.functional import send_mail as _send_mail
@task
def send_mail(to, subject, content_text=None, content_html=None):
_send_mail(to=to,
subject=subject,
content_text=content_text,
content_html=content_html)
|