jeudi 3 mars 2016

Using Laravel 5, how can I find out if a Mailgun email was sent successfully?

I'm using the native Mailgun driver in Laravel 5 to send an email

\Mail::send('emails.notification', $data, function($message) use ($data)
{
  $message->to('name@gmail.com', 'Joe Bob')->subject("Headline here");
});

That works well and the emails are being received, but I would like to know how I can get a response from Mailgun letting me know that the email was sent.

How can I go about getting that information?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire