add event mail addresses to the /events endpoints

This commit is contained in:
j3d1 2024-11-06 00:03:35 +01:00
parent f94e2d8191
commit 413a18a5d0
10 changed files with 90 additions and 13 deletions

View file

@ -10,6 +10,7 @@ from asgiref.sync import async_to_sync
from channels.layers import get_channel_layer
from core.settings import MAIL_DOMAIN
from inventory.models import Event
from mail.models import Email
from mail.protocol import send_smtp, make_reply, collect_references
from notify_sessions.models import SystemEvent