Skip to content

Commit 7ffb8ec

Browse files
committed
Fix
1 parent da2260e commit 7ffb8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jemail/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def send(self, fail_silently: bool = False) -> int:
168168
)
169169
for address, status in statuses.items():
170170
recipients[address].status = status.status
171-
recipients[address].provider_id = status.message_id
171+
recipients[address].provider_id = status.message_id or ""
172172
EmailRecipient.objects.filter(status="").bulk_update(
173173
recipients.values(), fields=["status", "provider_id"]
174174
)

0 commit comments

Comments
 (0)