Ejemplo n.º 1
0
def send_notification_email(
    language, recipients, notification, context=None, info=None
):
    """Render and sends notification email."""
    send_mails.delay(
        get_notification_emails(language, recipients, notification, context, info)
    )
Ejemplo n.º 2
0
def send_notification_email(language,
                            email,
                            notification,
                            context=None,
                            info=None):
    """Render and sends notification email."""
    emails = get_notification_emails(language, email, notification, context,
                                     info)
    send_mails.delay(emails)