Resend: no attachments with batch sending

Sometime earlier today, Resend started issuing API errors when sending attachments
with batch send. (Apparently the feature has never been supported, and attachments
were just ignored in the batch endpoint.)

Add a note to the docs, and update the Resend integration test.
This commit is contained in:
Mike Edmunds
2024-11-21 18:25:09 -08:00
parent a025ae9543
commit 79aec15784
2 changed files with 8 additions and 1 deletions

View File

@@ -115,7 +115,8 @@ class ResendBackendIntegrationTests(AnymailTestMixin, SimpleTestCase):
},
)
message.attach_alternative("<p>HTML content</p>", "text/html")
message.attach("attachment1.txt", "Here is some\ntext for you", "text/plain")
# Resend does not support attachments in batch send (2024-11-21)
# message.attach("attachment1.txt", "Here is some\ntext for you", "text/plain")
message.send()
# Resend always queues: