From e56de8a08c7a0e3e1dd6cb5829aac79f87408924 Mon Sep 17 00:00:00 2001 From: chromium7 Date: Tue, 19 Nov 2024 16:39:35 +0700 Subject: [PATCH] Send many returns created emails --- post_office/mail.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/post_office/mail.py b/post_office/mail.py index 6a7db7d6..5b92dd91 100644 --- a/post_office/mail.py +++ b/post_office/mail.py @@ -237,6 +237,8 @@ def send_many(kwargs_list): Email.objects.bulk_create(emails) email_queued.send(sender=Email, emails=emails) + return emails + def get_queued(): """