Skip to content

Conversation

@francoisfreitag
Copy link
Member

🤔 Pourquoi ?

Éviter de perdre des emails, ce qui peut-être très gênant pour les utilisateurs.

🍰 Comment ?

https://anymail.dev/en/stable/sending/django_email/#refused-recipients
https://anymail.dev/en/stable/sending/anymail_additions/#anymail.message.AnymailStatus

@francoisfreitag francoisfreitag added the modifié Modifié dans le changelog. label May 22, 2024
@francoisfreitag francoisfreitag self-assigned this May 22, 2024
@notion-workspace
Copy link

1 similar comment
@notion-workspace
Copy link

Before this commit, emails that couldn’t be sent were simply discarded,
because the code didn’t check the status from anymail.

Anymail exposes a status for each recipient of an email, raising many
questions on the expected behavior should one fail to be delivered out
of multiple recipients.

As a first step, simply trust Mailjet API Status field.

https://anymail.dev/en/stable/sending/django_email/#refused-recipients
https://anymail.dev/en/stable/sending/anymail_additions/#anymail.message.AnymailStatus
@francoisfreitag francoisfreitag added this pull request to the merge queue May 23, 2024
Merged via the queue into master with commit 8ae4175 May 23, 2024
@francoisfreitag francoisfreitag deleted the ff/resend-email branch May 23, 2024 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

modifié Modifié dans le changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants