$soap_location, 'uri' => $soap_uri)); try { if($session_id = $client->login($username,$password)) { echo 'Zalogowany. Sesja:'.$session_id.'
'; } $client_id = 0; $mailuser_id = 4; $domain__id = $client->mail_user_delete($session_id, $mailuser_id); if($client->logout($session_id)) { echo 'Wylogowany.
'; } } catch (SoapFault $e) { die('SOAP Blad: '.$e->getMessage()); } ?>