我已经设置了mailgun并且工作得很好。当我尝试将电子邮件发送到不存在的电子邮件时,就会出现问题。使用可以放置任何电子邮件,因此如果电子邮件正确,mailgun 会完美发送。但是如果它不正确,它会在 laravel 应用程序中产生错误
Swift_TransportException (554)
Expected response code 250 but got code "554", with message "554 Free
accounts are for test purposes only. Please upgrade or add the address to
authorized recipients in Account Settings.
如何在 laravel 中捕获此异常而不会产生错误?