validateCredentials(); } catch (HTTPError $e) { echo "An HTTP error has occurred! Please try again later\r\n"; } //echo $client->postRequest(array('url' => 'trstx.com/messages'), array('from'=>'test@trstx.com', 'to'=>'travis.swientek@rackspace.com', 'subject' => 'test', 'text' => 'asdf', 'o:testmode'=>true)); ?>