Closed mberneis closed 5 years ago
Hey @mberneis, I have gotten those errors before, but its actually stating that this specific recipient has been marked as inactive. I'm not sure what this package can do (if anything) to assist in this situation, but if you have any suggestions beyond what postmark recommends in the link above, please let me know 👍
Edit: Oh my mistake, you're asking about capturing these exceptions. I'm not sure how these can be caught from within a Laravel application as it should be within the channel (assuming you're using the notification system and not just the mailer). There is an event called NotificationFailed, but I don't know if that event is used by the default email channel for notifications. I personally have made my own email channel that fires that event.
Thank you for the quick response - Yes, I would prefer just to get a Log::warning
instead of the exception. Maybe there could be a configuration setting and the exception can be caught when calling guzzle
. Would you think that might be a worthwhile feature? - If so I will start working on a PR
I would have no objection to it, as long as its opt-in by default since it deviates from how Laravel's built in transports work 👍
I am getting exceptions in my log for certain emails when people try resetting their password.
(see below) - Is there a recommended way of capturing those or avoiding these altogether?
Using latest version 2.4 with laravel 5.8.8