Using PHP how do you get the return state. Whether the message has been received or not. I found this documentation, but it isn’t very helpful when using PHP:
http://blog.postageapp.com/tag/php/
I am not sure, but will this be valid:
if($this->postageapp->send()==true){ # returns JSON response from the server
//do something,
}else{
//otherwise
}
Thanks
The send method returns a JSON object whether the call was successful or not. I think PHP always evaluates this return to be true.
Therefore, you need to examine the returned object.