Forums Forums (
-   Scripting / API (
-   -   Using API for setting email user parameters (

bakon 11-12-2009 07:43 PM

Using API for setting email user parameters
The idea is that we want to activate flag: SPAMASSASSIN and GREYLIST of an email user.
We want to do that for a lot of users.

When we call that:
* where [EMAIL] is an email that we want to modify

The question is:
1) Why does that API call delete/destroy the email aliases of the email user?
2) Is there any way to do want we want with the API? Is our API call wrong?

Thank you.

GakcaT 11-13-2009 05:40 AM

In the query you don't specify the mailbox aliases. If you add them in your query they won't be removed. You can do that with the two queries:
1) The first query receives the mailbox information(aliases, etc.).
2) The second query uses the received information and changes SPAMASSASSIN and GREYLIST flags.

All times are GMT +2. The time now is 09:25 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.