Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Expanded support for bounces.get #1

wants to merge 2 commits into


None yet
1 participant

dtaylor commented Oct 15, 2011

Hi Neil,
We're using SendGrid at $work so I thought I'd contribute back some changes. I switched to the JSON output by default because some of my bounce reasons triggered XML::Simple to think it needed a hashref instead of a string. The JSON parsing of the same list caused no errors.


Drew Taylor added some commits Oct 15, 2011

Add support for JSON output
 - My reason text was occasionally interpreted by XML::Simple as needing
   a data structure rather than a string. This caused creation of M::S::Bounce
   objects to fail.

 - Add all prereqs
Expand support for the bounces.get optional params
 - Add support for passing optional params to bounces.get

 - Add example program to get bounces.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment