ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Scripting / API (http://forum.ispsystem.com//forumdisplay.php?f=13)
-   -   How to get aliases information from an email account? (http://forum.ispsystem.com//showthread.php?t=815)

manel 11-17-2009 12:54 PM

How to get aliases information from an email account?
 
In another message (http://forum.ispsystem.com/en/showthread.php?t=814), you says that:

> 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.

How we can do to 1) The first query receives the mailbox information(aliases, etc.). ???

If we use the email function (http://127.0.0.1/manager/ispmgr?out=xml&func=email), we get this:

Function: email

Result: the list of elements
name - Name.
pop3 - POP3 login.
disabled - Mailbox is disabled.
note - Note:.
size - Size. Attributes :
used - The used number.
limit - Max value limitation

How we can get the aliases?

Thank you!

slava 11-17-2009 10:16 PM

Quote:

How we can get the aliases?
Code:

https://127.0.0.1/manager/ispmgr?out=xml&func=email.edit&elid=user@example.com

manel 11-19-2009 06:25 PM

It works! Thank you!


All times are GMT +2. The time now is 12:55 AM.

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