MCPcopy Create free account

hub / github.com/brosner/django-mailer / functions

Functions45 in github.com/brosner/django-mailer

↓ 5 callersMethodhigh_priority
the high priority messages in the queue
mailer/models.py:17
↓ 4 callersMethodmedium_priority
the medium priority messages in the queue
mailer/models.py:24
↓ 3 callersMethodlog
create a log entry for an attempt to send the given message and record the given result and (optionally) a log message
mailer/models.py:124
↓ 2 callersMethod__init__
>>> lock = LockBase('somefile') >>> lock = LockBase('somefile', threaded=False)
mailer/lockfile.py:160
↓ 2 callersMethodacquire
Acquire the lock. * If timeout is omitted (or None), wait forever trying to lock the file. * If timeout > 0, try
mailer/lockfile.py:179
↓ 2 callersMethodis_locked
(self)
mailer/lockfile.py:279
↓ 2 callersMethodis_locked
(self)
mailer/lockfile.py:352
↓ 2 callersMethodis_locked
(self)
mailer/lockfile.py:474
↓ 2 callersMethodlow_priority
the low priority messages in the queue
mailer/models.py:31
↓ 2 callersMethodrelease
Release the lock. If the file is not locked, raise NotLocked.
mailer/lockfile.py:195
↓ 2 callersFunctionsend_all
Send all eligible messages in the queue.
mailer/engine.py:38
↓ 1 callersMethod_who_is_locking
(self)
mailer/lockfile.py:467
↓ 1 callersMethoddefer
(self)
mailer/models.py:73
↓ 1 callersMethoddeferred
the deferred messages in the queue
mailer/models.py:45
↓ 1 callersFunctionget_version
()
mailer/__init__.py:3
↓ 1 callersMethodhas_address
is the given address on the don't send list?
mailer/models.py:88
↓ 1 callersMethodi_am_locking
(self)
mailer/lockfile.py:482
↓ 1 callersMethodnon_deferred
the messages in the queue not deferred
mailer/models.py:38
↓ 1 callersFunctionprioritize
Yield the messages in the queue in the order they should be sent.
mailer/engine.py:20
↓ 1 callersMethodretry
(self, new_priority=2)
mailer/models.py:77
↓ 1 callersMethodretry_deferred
(self, new_priority=2)
mailer/models.py:52
Method__enter__
Context manager support.
mailer/lockfile.py:221
Method__exit__
Context manager support.
mailer/lockfile.py:228
Method__init__
>>> lock = MkdirFileLock('somefile') >>> lock = MkdirFileLock('somefile', threaded=False)
mailer/lockfile.py:293
Method__init__
(self, path, threaded=True)
mailer/lockfile.py:374
Methodacquire
(self, timeout=None)
mailer/lockfile.py:237
Methodacquire
(self, timeout=None)
mailer/lockfile.py:310
Methodacquire
(self, timeout=None)
mailer/lockfile.py:396
Methodbreak_lock
Remove a lock. Useful if a locking thread failed to unlock.
mailer/lockfile.py:215
Methodbreak_lock
(self)
mailer/lockfile.py:287
Methodbreak_lock
(self)
mailer/lockfile.py:359
Methodbreak_lock
(self)
mailer/lockfile.py:490
Methodhandle_noargs
(self, **options)
mailer/management/commands/send_mail.py:14
Methodhandle_noargs
(self, **options)
mailer/management/commands/retry_deferred.py:8
Methodi_am_locking
Return True if this object is locking the file.
mailer/lockfile.py:209
Methodi_am_locking
(self)
mailer/lockfile.py:282
Methodi_am_locking
(self)
mailer/lockfile.py:355
Methodis_locked
Tell whether or not the file is locked.
mailer/lockfile.py:203
Functionmail_admins
(subject, message, fail_silently=False, priority="medium")
mailer/__init__.py:43
Functionmail_managers
(subject, message, fail_silently=False, priority="medium")
mailer/__init__.py:63
Methodrelease
(self)
mailer/lockfile.py:271
Methodrelease
(self)
mailer/lockfile.py:344
Methodrelease
(self)
mailer/lockfile.py:456
Functionsend_loop
Loop indefinitely, checking queue at intervals of EMPTY_QUEUE_SLEEP and sending messages if any are on queue.
mailer/engine.py:90
Functionsend_mail
(subject, message, from_email, recipient_list, priority="medium", fail_silently=False, auth_user
mailer/__init__.py:22