$soap_location, 'uri' => $soap_uri)); try { if($session_id = $client->login($username,$password)) { echo 'Zalogowany. Sesja:'.$session_id.'
'; } $params = array( 'server_id' => 1, 'priority' => '2', 'policy_id' => '4', 'email' => 'ktos@replikant.eu', 'fullname' => 'stachu jarzyna', 'local' => ''); $client_id = 0; $mailuser_id = 1; $domain_id = $client->mail_users_spamfilter_update($session_id, $mailuser_id, $client_id, $params); if($client->logout($session_id)) { echo 'Wylogowany.
'; } } catch (SoapFault $e) { die('SOAP Blad: '.$e->getMessage()); } ?>