The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mail::SendGrid::Bounce - data object that holds information about a SendGrid bounce

VERSION

version 0.03

SYNOPSIS

    use Mail::SendGrid::Bounce;

    $bounce = Mail::SendGrid::Bounce->new(
                        email   => '...',
                        created => '...',
                        status  => '...',
                        reason  => '...',
                       );

DESCRIPTION

This class defines a data object which is returned by the bounces() method in Mail::SendGrid. Generally you won't instantiate this module yourself.

METHODS

email

The email address you tried sending to, which resulted in a bounce back to SendGrid.

created

Date and time in ISO date format. I'm assuming this is the timestamp for when the bounce was received back at SendGrid.

status

Not sure.

reason

The reason why the message bounced; typically this is the reason returned by the remote MTA.

SEE ALSO

SendGrid API documentation

http://docs.sendgrid.com/documentation/api/web-api/webapibounces/

AUTHOR

Neil Bowers <neilb@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 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.