From ac9aa064012603468767e869c1aff1df39e1f0d9 Mon Sep 17 00:00:00 2001 From: Christofer Saputra <61144981+chromium7@users.noreply.github.com> Date: Tue, 19 Nov 2024 18:01:42 +0700 Subject: [PATCH] Send many returns created emails (#475) --- 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(): """