Go Back   ISPsystem.com Forums > Modifications / Add-ons > Scripting / API

Notices

Closed Thread
 
Thread Tools
Old 11-17-2009, 12:54 PM   #1
Junior Member
 
Join Date: Nov 2009
Posts: 2
manel is on a distinguished road
Default 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!
manel is offline  
Old 11-17-2009, 10:16 PM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Quote:
How we can get the aliases?
Code:
https://127.0.0.1/manager/ispmgr?out=xml&func=email.edit&elid=user@example.com
slava is offline  
Old 11-19-2009, 06:25 PM   #3
Junior Member
 
Join Date: Nov 2009
Posts: 2
manel is on a distinguished road
Default

It works! Thank you!
manel is offline  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:42 PM.