|
@@ -157,6 +157,15 @@ class KerioApiSocket implements KerioApiSocketInterface {
|
|
|
*/
|
|
*/
|
|
|
public function send($data) {
|
|
public function send($data) {
|
|
|
if ($this->checkConnection()) {
|
|
if ($this->checkConnection()) {
|
|
|
|
|
+
|
|
|
|
|
+ logModuleCall(
|
|
|
|
|
+ 'kerioEmail',
|
|
|
|
|
+ __FUNCTION__,
|
|
|
|
|
+ $data,
|
|
|
|
|
+ 'Debug Kerio Api 1',
|
|
|
|
|
+ $this
|
|
|
|
|
+ );
|
|
|
|
|
+
|
|
|
@fwrite($this->socketHandler, $data);
|
|
@fwrite($this->socketHandler, $data);
|
|
|
return $this->read();
|
|
return $this->read();
|
|
|
}
|
|
}
|