interface to SendGrid.com mail gateway APIs
use 5.008;
use Moo 1.006;
use HTTP::Tiny 0.013;
use JSON 2.53;
use URI::Escape 3.30;
use Carp 1.20;
use Mail::SendGrid::Bounce;
has 'api_user' => (is =
nces.get', \%opts, { date => 1 });
if ($response->{success}) {
$bounce_list = decode_json($response->{content});
foreach my $bounce_details (@{ $bounce_list }) {
$boun
es.delete.json';
my $response;
my $json;
my $url;
$response = $self->_make_request('bounces.delete', \%opts, {});
if ($response->{success}) {
$json = decode_json($respons