Subject: | return further details on successful send |
When Postmark successfully sends mail it returns a JSON structure with further details, as documented here:
http://developer.postmarkapp.com/developer-build.html#success-response
It would be nice if WWW::Postmark->send() could return these details, as it would enable calling code to e.g. log the sent message ID.
Since the WWW-Postmark distribution already requires JSON support, the code could simply return a hash reference of the JSON response. This change would be backwards-compatible since "a true value" is still returned as per the documentation.