You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2021. It is now read-only.
It would be really helpful for developers if error message would contain more information when sending test email. Right now it only states that "Email wasn't sent." and that's really not helpful when trying to figure out the reason for it.
The text was updated successfully, but these errors were encountered:
At present class-sendgrid-smtp.php catches exceptions and then simply returns false. Throwing away the error and failing to send the email. Relying on the calling plugin/code to recognise that the wp_mail() call failed, and handle the failure.
However the default on Linux is to use the standard Linux command which will queue a failed email and attempt to re-send it. As such most plugins are coded in a manner where they simply don't bother to check the success of the wp_mail() function.
If Sendgrid is to be a replacement for the default functionality, should handle this gracefully, preferably using the WordPress' cron functionality to retry failed emails at a later date but at the very least provide logs of failures.
It would be really helpful for developers if error message would contain more information when sending test email. Right now it only states that "Email wasn't sent." and that's really not helpful when trying to figure out the reason for it.
The text was updated successfully, but these errors were encountered: