This document describes an older version of Celery (2.1). For the latest stable version please go here.

Sending E-mail - celery.utils.mail

class celery.utils.mail.Mailer(host='localhost', port=0, user=None, password=None, timeout=None)
send(message)
class celery.utils.mail.Message(to=None, sender=None, subject=None, body=None, charset='us-ascii')
exception celery.utils.mail.SendmailWarning

Problem happened while sending the e-mail message.

celery.utils.mail.mail_admins(subject, message, fail_silently=False)

Send a message to the admins in conf.ADMINS.

Previous topic

Python Compatibility - celery.utils.compat

Next topic

Compatibility Patches - celery.utils.patch

This Page