I think Mail::failures() may return something. You'll have to debug.
Aug 7, 2017
4
Level 1
Check if an email was sent
Hi. I'm using Illuminate\Notifications\Notifiable Trait of Laravel to send email from SMTP driver to 'smtps.pec.aruba.it' host. My code is:
$contact->notify(new TenderInviteesNotification());
Now I would control if the email was sent, if it is arrived to server (to avoid problem caused by the mail server for example). Is there a function in laravel like getFailure or others like this? Can anyone help me? Thank you in advance.
Please or to participate in this conversation.