Mail::SendGrid::Bounce - data object that holds information about a SendGrid bounce
version 0.07
use Mail::SendGrid::Bounce; $bounce = Mail::SendGrid::Bounce->new( email => '...', created => '...', status => '...', reason => '...', );
This class defines a data object which is returned by the bounces() method in Mail::SendGrid. Generally you won't instantiate this module yourself.
bounces()
The email address you tried sending to, which resulted in a bounce back to SendGrid.
Date and time in ISO date format. I'm assuming this is the timestamp for when the bounce was received back at SendGrid.
A string which identifies the type of bounce. At the moment my understanding is that this will either be the string '4.0.0' for a soft bounce, and '5.0.0' for a hard bounce. I'm trying to get confirmation or clarification from SendGrid.
The reason why the message bounced; typically this is the reason returned by the remote MTA. Sometimes the reason string will start with the SMTP response code; I'm trying to find out from SendGrid in what situations that isn't true.
http://docs.sendgrid.com/documentation/api/web-api/webapibounces/
Neil Bowers <neilb@cpan.org>
This software is copyright (c) 2012 by Neil Bowers <neilb@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Mail::SendGrid, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::SendGrid
CPAN shell
perl -MCPAN -e shell install Mail::SendGrid
For more information on module installation, please visit the detailed CPAN module installation guide.