New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sendout getting stuck with Mailgun #138
Comments
As explained in chat, this is not a bug but expected behaviour. The reasoning is that if Mailgun refuses to send an email Ideally, you would not have any invalid email addresses in a mailing list, but these appear to be email addresses that are formatted correctly but whose MX resource record is not found (as in your |
I've improved log messages of failed sendouts in 846c024, adding the email address that failed. I'm also looking into whether there is a more elegant way to continue the failed sendout without causing too much damage ;) |
Added the |
Describe the bug
If an invalid email address ends up on a mailing list list, mailgun will reject the email and the sendout will become stuck.
Fixing the invalid email address will allow the sendout to continue.
Logs when sendout gets stuck:
Sending of the sendout "ABC Campaign" failed after 3 send attempt(s). Please check that your Campaign email settings are correctly configured and check the error in the Craft log.
To reproduce
Steps to reproduce the behaviour:
Expected behaviour
The sendout should ignore the invalid email address error and continue to send the remaining emails.
This might be a more reliable email validation library
https://github.com/egulias/EmailValidator
Versions
Thanks
👍
The text was updated successfully, but these errors were encountered: