text: from django.conf import settings
  from django_mailer import constants
  
  # Provide a way of temporarily pausing the sending of mail.
  PAUSE_SEND = getattr(settings, "MAILER_PAUSE_SEND", False)
  
  USE_BACKEND = getattr(settings, 'MAILER_USE_BACKEND',
                        'django.core.mail.backends.smtp.EmailBackend')
  
  # Default priorities for the mail_admins and mail_managers methods.
  MAIL_ADMINS_PRIORITY = getattr(settings, 'MAILER_MAIL_ADMINS_PRIORITY',
                                 constants.PRIORITY_HIGH)
  MAIL_MANAGERS_PRIORITY = getattr(settings, 'MAILER_MAIL_MANAGERS_PRIORITY',
                                   None)
  
  # when queue is empty, how long to wait (in seconds) before checking again
  EMPTY_QUEUE_SLEEP = getattr(settings, "MAILER_EMPTY_QUEUE_SLEEP", 30)
  
  # lock timeout value. how long to wait for the lock to become available.
  # default behavior is to never wait for the lock to be available.
  LOCK_WAIT_TIMEOUT = getattr(settings, "MAILER_LOCK_WAIT_TIMEOUT", -1)
  
  # allows for a different lockfile path. The default is a file
  # in the current working directory.
  LOCK_PATH = getattr(settings, "MAILER_LOCK_PATH", None)
  
  # allow for a custom batch size
  MESSAGES_BATCH_SIZE = getattr(settings, "MAILER_MESSAGES_BATCH_SIZE", None)
  