Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/t/o/ToMaTo-HEAD/shared/lib/mail.py   ToMaTo(Download)
 
from django.core.mail import send_mail
from ..config import EMAIL_FROM
from . import logging
 
    logging.log(category="mail", to=to, subject=subject, message=message)
    try:
        send_mail(subject, message, from_ or EMAIL_FROM, to)
    except:
        logging.logException()