|
|
@@ -500,17 +500,17 @@ class KerioApi implements KerioApiInterface {
|
|
|
if (empty($this->hostname)) {
|
|
|
throw new KerioApiException('Cannot send data before login.');
|
|
|
}
|
|
|
+ /* Get full HTTP request */
|
|
|
+ $request = $this->getHttpRequest($method, $data);
|
|
|
|
|
|
logModuleCall(
|
|
|
'kerioEmail',
|
|
|
__FUNCTION__,
|
|
|
- $method,
|
|
|
+ $request,
|
|
|
'Debug Kerio Api 1',
|
|
|
- $data
|
|
|
+ $this->hostname
|
|
|
);
|
|
|
|
|
|
- /* Get full HTTP request */
|
|
|
- $request = $this->getHttpRequest($method, $data);
|
|
|
$this->debug(sprintf("→ Raw request:\n<pre>%s</pre>", $request));
|
|
|
|
|
|
/* Open socket */
|