def _store_log(self, is_sent): if ENABLE_LOGGING is True: if self._template.enable_log or not is_sent: MailLog.store(self._recipient_list, self._cc, self._bcc, is_sent, self._template, self._user, self._num, self._err_msg, self._err_exc, self._log_id, self._backend, self._provider)
def __store_log(self, is_sent): if ENABLE_LOGGING is True: if self._template.enable_log or not is_sent: MailLog.store( self._recipient_list, self._cc, self._bcc, is_sent, self._template, self._user, self._num, self._err_msg, self._err_exc, self._log_id )
def handle(self, *args, **options): MailLog.cleanup(days=LOGS_EXPIRE_DAYS)
def __store_log(self, is_sent): MailLog.store( self._recipient_list, self._cc, self._bcc, is_sent, self._template, self._user, self._num, self._err_msg )