R
rootusertom
Guest
I need a solution to get a list of ALL email accounts on a Plesk Server via the RPC API.
Why is it not possible to request multiple email accounts like this:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.4">
<mail>
<get_info>
<filter>
<site-id>1</site-id>
<site-id>3</site-id>
<site-id>6</site-id>
</filter>
<mailbox/>
</get_info>
</mail>
</packet>
It WOULD be possible to give multiple account names with the <name> tag, but that does not make sense, because I do not have the account names unless I request the email accounts of a certain site-id.
If i request the email accounts of all domains each at a time, it will take bloody ages.
Any hints or solutions?
regards, Tom
Why is it not possible to request multiple email accounts like this:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.4">
<mail>
<get_info>
<filter>
<site-id>1</site-id>
<site-id>3</site-id>
<site-id>6</site-id>
</filter>
<mailbox/>
</get_info>
</mail>
</packet>
It WOULD be possible to give multiple account names with the <name> tag, but that does not make sense, because I do not have the account names unless I request the email accounts of a certain site-id.
If i request the email accounts of all domains each at a time, it will take bloody ages.
Any hints or solutions?
regards, Tom