Below is the code to fetch the logs from mailgun
require 'mailgun-php/vendor/autoload.php';
use Mailgun\Mailgun;
Instantiate the client.
$mgClient = new Mailgun('xxx');
$domain = 'xx';
Issue the call to the client.
$queryString = array(
'begin' => 'Fri, 31 May 2017 09:00:00 -0000',
'ascending' => 'yes',
'limit' => 100
);
Make the call to the client.
$result = $mgClient->get("$domain/events", $queryString);`
Mailgun shows some response, now how can i parse the response?
like i want
<td>email@gmail.com</td><td>status</td>