function sendProcess()
 {
     $renderMG = new ET_Message_Guide();
     $renderMG->authStub = $this->authStub;
     $renderMG->props = array("id" => $this->props['messageID']);
     $renderResult = $renderMG->render();
     if (!$renderResult->status) {
         return $renderResult;
     }
     $html = $renderResult->results->emailhtmlbody;
     $send = array();
     $send["Email"] = array("Subject" => $this->props['subject'], "HTMLBody" => $html);
     $send["List"] = array("ID" => $this->props['listID']);
     $response = new ET_Post($this->authStub, "Send", $send);
     return $response;
 }
        // Update a Message
        print "Update a Message \n";
        $patchMG = new ET_Message_Guide();
        $patchMG->authStub = $myclient;
        $patchMG->props = get_object_vars($message);
        $patchResponse = $patchMG->Patch();
        print_r('Patch Status: ' . ($patchResponse->status ? 'true' : 'false') . "\n");
        print 'Code: ' . $patchResponse->code . "\n";
        print 'Message: ' . $patchResponse->message . "\n";
        print 'Results Length: ' . count($patchResponse->results) . "\n";
        print 'Results: ' . "\n";
        print_r($patchResponse->results);
        print "\n---------------\n";
        // Delete a Message
        print "Delete a Message \n";
        $deleteMG = new ET_Message_Guide();
        $deleteMG->authStub = $myclient;
        $deleteMG->props = array("id" => $IDofPostMessage);
        $deleteResponse = $deleteMG->Delete();
        print_r('Delete Status: ' . ($deleteResponse->status ? 'true' : 'false') . "\n");
        print 'Code: ' . $deleteResponse->code . "\n";
        print 'Message: ' . $deleteResponse->message . "\n";
        print 'Results Length: ' . count($deleteResponse->results) . "\n";
        print 'Results: ' . "\n";
        print_r($deleteResponse->results);
        print "\n---------------\n";
    }
} catch (Exception $e) {
    echo 'Caught exception: ', $e->getMessage(), "\n";
}
?>