Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brosner/django-mailer
/ functions
Functions
45 in github.com/brosner/django-mailer
⨍
Functions
45
◇
Types & classes
24
↓ 5 callers
Method
high_priority
the high priority messages in the queue
mailer/models.py:17
↓ 4 callers
Method
medium_priority
the medium priority messages in the queue
mailer/models.py:24
↓ 3 callers
Method
log
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 callers
Method
__init__
>>> lock = LockBase('somefile') >>> lock = LockBase('somefile', threaded=False)
mailer/lockfile.py:160
↓ 2 callers
Method
acquire
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 callers
Method
is_locked
(self)
mailer/lockfile.py:279
↓ 2 callers
Method
is_locked
(self)
mailer/lockfile.py:352
↓ 2 callers
Method
is_locked
(self)
mailer/lockfile.py:474
↓ 2 callers
Method
low_priority
the low priority messages in the queue
mailer/models.py:31
↓ 2 callers
Method
release
Release the lock. If the file is not locked, raise NotLocked.
mailer/lockfile.py:195
↓ 2 callers
Function
send_all
Send all eligible messages in the queue.
mailer/engine.py:38
↓ 1 callers
Method
_who_is_locking
(self)
mailer/lockfile.py:467
↓ 1 callers
Method
defer
(self)
mailer/models.py:73
↓ 1 callers
Method
deferred
the deferred messages in the queue
mailer/models.py:45
↓ 1 callers
Function
get_version
()
mailer/__init__.py:3
↓ 1 callers
Method
has_address
is the given address on the don't send list?
mailer/models.py:88
↓ 1 callers
Method
i_am_locking
(self)
mailer/lockfile.py:482
↓ 1 callers
Method
non_deferred
the messages in the queue not deferred
mailer/models.py:38
↓ 1 callers
Function
prioritize
Yield the messages in the queue in the order they should be sent.
mailer/engine.py:20
↓ 1 callers
Method
retry
(self, new_priority=2)
mailer/models.py:77
↓ 1 callers
Method
retry_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
Method
acquire
(self, timeout=None)
mailer/lockfile.py:237
Method
acquire
(self, timeout=None)
mailer/lockfile.py:310
Method
acquire
(self, timeout=None)
mailer/lockfile.py:396
Method
break_lock
Remove a lock. Useful if a locking thread failed to unlock.
mailer/lockfile.py:215
Method
break_lock
(self)
mailer/lockfile.py:287
Method
break_lock
(self)
mailer/lockfile.py:359
Method
break_lock
(self)
mailer/lockfile.py:490
Method
handle_noargs
(self, **options)
mailer/management/commands/send_mail.py:14
Method
handle_noargs
(self, **options)
mailer/management/commands/retry_deferred.py:8
Method
i_am_locking
Return True if this object is locking the file.
mailer/lockfile.py:209
Method
i_am_locking
(self)
mailer/lockfile.py:282
Method
i_am_locking
(self)
mailer/lockfile.py:355
Method
is_locked
Tell whether or not the file is locked.
mailer/lockfile.py:203
Function
mail_admins
(subject, message, fail_silently=False, priority="medium")
mailer/__init__.py:43
Function
mail_managers
(subject, message, fail_silently=False, priority="medium")
mailer/__init__.py:63
Method
release
(self)
mailer/lockfile.py:271
Method
release
(self)
mailer/lockfile.py:344
Method
release
(self)
mailer/lockfile.py:456
Function
send_loop
Loop indefinitely, checking queue at intervals of EMPTY_QUEUE_SLEEP and sending messages if any are on queue.
mailer/engine.py:90
Function
send_mail
(subject, message, from_email, recipient_list, priority="medium", fail_silently=False, auth_user
mailer/__init__.py:22