1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00
django-mailbox/django_mailbox/management/commands/getmail.py
2024-10-03 14:44:15 +01:00

10 lines
230 B
Python

import logging
from django.core.management.base import BaseCommand
from django_mailbox.models import Mailbox
class Command(BaseCommand):
def handle(self, *args, **options):
Mailbox.get_new_mail_all_mailboxes(args)