Dear, i'm finding the simplest way to setup a "Normal" antispam policy to a new email account created, via API. It's there a method to do that? In addiction of that, how can grab the mailuser id starting from mail user account? Thank's and regards.
This is done with the function mail_spamfilter_user_add($session_id, $client_id, $params) You can query for a mailuser with the advanced syntax of the *_get functions. e.g.: $client->mail_user_get($session_id, array('email' => '[email protected]'));