com.psoft.hsphere.axis
Interface MailServices_PortType

All Superinterfaces:
java.rmi.Remote

public interface MailServices_PortType
extends java.rmi.Remote


Method Summary
 void addAlias(AuthToken at, java.lang.String local, java.lang.String domain, java.lang.String foreign, java.lang.String description)
          Creates mail alias.
 void addAntiSpam(AuthToken at, java.lang.String local, java.lang.String domainName)
          Creates antispam.
 void addAntiSpamResources(AuthToken at, java.lang.String domainName, java.lang.String range)
          Adds antispams for all mailresorces (range="all") OR all mailboxes (range="mailbox") of the maildomain.
 void addAntiVirus(AuthToken at, java.lang.String local, java.lang.String domainName)
          Creates antivirus.
 void addAntiVirusResources(AuthToken at, java.lang.String domainName, java.lang.String range)
          Adds antiviruses for all mailresorces (range="all") OR all mailboxes (range="mailbox") of the maildomain.
 void addAutoResponder(AuthToken at, java.lang.String local, java.lang.String domain, java.lang.String subject, java.lang.String message, java.lang.String description, int includeIncoming)
          Creates autoresponder.
 void addAutoResponderWithoutIncMsg(AuthToken at, java.lang.String local, java.lang.String domain, java.lang.String subject, java.lang.String message, java.lang.String description)
          Creates autoresponder without incoming messages.
 void addMailbox(AuthToken at, java.lang.String email, java.lang.String domain, java.lang.String password, java.lang.String description)
          Creates a mailbox.
 void addMailForward(AuthToken at, java.lang.String local, java.lang.String domain, java.lang.String[] foreign, java.lang.String description)
          Creates mail forward.
 void addMailForwardSubscribers(AuthToken at, java.lang.String local, java.lang.String domain, java.lang.String[] foreign)
          Adds subscribers to mail forward.
 void addMailingList(AuthToken at, java.lang.String email, java.lang.String domain, java.lang.String description)
          Creates new mailing list.
 void addSPF(AuthToken at, java.lang.String domainName, java.lang.String processing)
          Adds SPF for mail domain.
 void changeMailboxPassword(AuthToken at, java.lang.String email, java.lang.String domain, java.lang.String newPassword)
          Changes mailbox password.
 void deleteAlias(AuthToken at, java.lang.String local, java.lang.String domain)
          Deletes mail alias.
 void deleteAntiSpam(AuthToken at, java.lang.String localName, java.lang.String domainName)
          Deletes antispam.
 void deleteAntiSpamResources(AuthToken at, java.lang.String domainName)
          Deletes antispams for mail domain.
 void deleteAntiVirus(AuthToken at, java.lang.String localName, java.lang.String domainName)
          Deletes antivirus.
 void deleteAntiVirusResources(AuthToken at, java.lang.String domainName)
          Deletes antiviruses for mail domain.
 void deleteAutoResponder(AuthToken at, java.lang.String local, java.lang.String domain)
          Deletes autoresponder.
 void deleteMailbox(AuthToken at, java.lang.String email, java.lang.String domain)
          Deletes a mailbox.
 void deleteMailForward(AuthToken at, java.lang.String local, java.lang.String domain)
          Deletes mail forward.
 void deleteMailForwardSubscribers(AuthToken at, java.lang.String local, java.lang.String domain, java.lang.String[] foreign)
          Deletes subscribers from the mail forward.
 void deleteMailingList(AuthToken at, java.lang.String email, java.lang.String domain)
          Deletes mailing list.
 void deleteSPF(AuthToken at, java.lang.String domainName)
          Deletes SPF resource.
 void disableMailService(AuthToken at, java.lang.String domainName)
          Disables mail service for the specified domain.
 void enableMailService(AuthToken at, java.lang.String domainName)
          Enables mail service for the specified domain.
 java.lang.Object[] getAliases(AuthToken at, java.lang.String domain)
          Retrieves an array of mail aliases for the domain.
 NamedParameter[] getAliasProperties(AuthToken at, java.lang.String domainName, java.lang.String aliasName)
          Gets mail alias properties.
 java.lang.Object[] getAntiSpams(AuthToken at, java.lang.String domain)
          Retrieves an array of antispams for the domain.
 java.lang.Object[] getAntiViruses(AuthToken at, java.lang.String domain)
          Retrieves an array of antiviruses for the domain.
 NamedParameter[] getAutoresponderProperties(AuthToken at, java.lang.String domainName, java.lang.String responderName)
          Gets autoresponders properties.
 java.lang.Object[] getAutoResponders(AuthToken at, java.lang.String domain)
          Retrieves an array of autoresponders for the domain.
 NamedParameter[] getBoxProperties(AuthToken at, java.lang.String domainName, java.lang.String boxName)
          Gets mailbox properties.
 java.lang.String getCatchAll(AuthToken at, java.lang.String domainName)
          Returns email with CatchAll enabled.
 NamedParameter[] getCurrentMailObjects(AuthToken at, java.lang.String domainName)
          Gets mail objects ( alias, autoresponder, mailing list, mailbox, forward ) for domain.
 java.lang.String getDescription()
           
 boolean getDiscardMail(AuthToken at, java.lang.String email, java.lang.String domain)
          Retrieves discarded mail flag.
 NamedParameter[] getForwardProperties(AuthToken at, java.lang.String domainName, java.lang.String forwardName)
          Gets mail forward properties.
 NamedParameter[] getListProperties(AuthToken at, java.lang.String domainName, java.lang.String listName)
          Gets mailing list properties
 java.lang.Object[] getMailboxes(AuthToken at, java.lang.String domain)
          Retrieves an array of mailboxes for the domain.
 double getMailboxQuota(AuthToken at, java.lang.String email, java.lang.String domain)
          Returns mailbox quota value.
 java.lang.Object[] getMailForwards(AuthToken at, java.lang.String domain)
          Retrieves an array of mail forwards.
 java.lang.String getMailTraffic(AuthToken at, java.lang.String domainName)
          Gets mail traffic for domain.
 java.lang.String getPOP3Server(AuthToken at, java.lang.String domainName)
          Gets POP3 server for domain
 java.lang.String getSMTPServer(AuthToken at, java.lang.String domainName)
          Gets SMTP server for domain.
 void setAntiSpamPreferences(AuthToken at, java.lang.String domainName, java.lang.String local, java.lang.String whiteList, java.lang.String blackList, java.lang.String spamLevel, java.lang.String spamProcessing, java.lang.String maxScore)
          Sets antispam preferences.
 void setAntiVirusPreferences(AuthToken at, java.lang.String domainName, java.lang.String local, java.lang.String virusProcessing, java.lang.String virusMimesMode, java.lang.String virusMimes)
          Sets antivirus preferences.
 void setCatchAll(AuthToken at, java.lang.String email, java.lang.String domain)
          Sets catch of all flags to the email.
 void setDiscardMail(AuthToken at, java.lang.String email, java.lang.String domain, boolean discard)
          Sets mailbox to discard mail.
 void setMailboxQuota(AuthToken at, java.lang.String email, java.lang.String domain, double quota)
          Sets mailbox quota value.
 void setMaildomainAntiSpamPreferences(AuthToken at, java.lang.String domainName, java.lang.String whiteList, java.lang.String blackList, java.lang.String spamLevel, java.lang.String spamProcessing, java.lang.String maxScore)
          Sets antispam preferences for mail domain.
 void setMaildomainAntiVirusPreferences(AuthToken at, java.lang.String domainName, java.lang.String virusProcessing, java.lang.String virusMimesMode, java.lang.String virusMimes)
          Sets antivirus preferences for mail domain.
 void setMailingListTrailer(AuthToken at, java.lang.String email, java.lang.String domain, java.lang.String trailer)
          Sets/removes mailing list trailer.
 void subscribeToMailingList(AuthToken at, java.lang.String email, java.lang.String domain, java.lang.String[] sub, boolean mod)
          Adds subscribers to mailing list.
 void unsubscribeAllFromMailingList(AuthToken at, java.lang.String email, java.lang.String domain)
          Removes all subsribers from the mailing list.
 void unsubscribeFromMailingList(AuthToken at, java.lang.String email, java.lang.String domain, java.lang.String[] sub, boolean mod)
          Unsubscribes from the mailing list.
 void updateAutoResponder(AuthToken at, java.lang.String local, java.lang.String domain, java.lang.String subject, java.lang.String message)
          Updates autoresponder.
 void updateAutoResponder(AuthToken at, java.lang.String local, java.lang.String domain, java.lang.String subject, java.lang.String message, int includeIncoming)
          Updates autoresponder.
 void updateAutoResponder(AuthToken at, java.lang.String local, java.lang.String domain, java.lang.String subject, java.lang.String message, int includeIncoming, java.lang.String senderFilter)
          Updates autoresponder.
 void useMaildomainAntiSpamPrefs(AuthToken at, java.lang.String domainName, java.lang.String local)
          Enables use of mail domain antispam preferences for antispam.
 void useMaildomainAntiVirusPrefs(AuthToken at, java.lang.String domainName, java.lang.String local)
          Enables use of mail domain antivirus preferences for antivirus.
 

Method Detail

getDescription

java.lang.String getDescription()
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addAlias

void addAlias(AuthToken at,
              java.lang.String local,
              java.lang.String domain,
              java.lang.String foreign,
              java.lang.String description)
              throws java.rmi.RemoteException
Creates mail alias.

Parameters:
at - authentication information.
local - mail alias local name, format: alphanumeric value, at least 2 characters.
domain - domain for mail alias, format: xxx.yyy.zzz ...
foreign - the list of emails separated by ';' pointed by alias, format: alphanumeric value, at least 2 characters.
description - description.
Throws:
java.lang.Exception
java.rmi.RemoteException

getAliases

java.lang.Object[] getAliases(AuthToken at,
                              java.lang.String domain)
                              throws java.rmi.RemoteException
Retrieves an array of mail aliases for the domain.

Parameters:
at - authentication information.
domain - domain name.
Returns:
array, each element is array of 3 elements in the following sequence: String local mail alias name, String list of foreign emails separated by ';', String mail alias name.
Throws:
java.lang.Exception
java.rmi.RemoteException

getCatchAll

java.lang.String getCatchAll(AuthToken at,
                             java.lang.String domainName)
                             throws java.rmi.RemoteException
Returns email with CatchAll enabled.

Parameters:
at - authentication information.
domainName - domain name, format: xxx.yyy.zzz ...
Returns:
local name of a mailobject with enabled CatchAll.
Throws:
java.lang.Exception
java.rmi.RemoteException

getMailboxQuota

double getMailboxQuota(AuthToken at,
                       java.lang.String email,
                       java.lang.String domain)
                       throws java.rmi.RemoteException
Returns mailbox quota value.

Parameters:
at - authentication information.
email - mailbox local name, format: alphanumeric value, at least 2 characters.
domain - domain for mailbox, format: xxx.yyy.zzz ...
Returns:
mailbox quota value.
Throws:
java.lang.Exception
java.rmi.RemoteException

getDiscardMail

boolean getDiscardMail(AuthToken at,
                       java.lang.String email,
                       java.lang.String domain)
                       throws java.rmi.RemoteException
Retrieves discarded mail flag.

Parameters:
at - authentication information.
email - mailbox local name, format: alphanumeric value, at least 2 characters.
domain - domain for mailbox, format: xxx.yyy.zzz ...
Returns:
true if mail is discarded, false, if mail is not discarded.
Throws:
java.lang.Exception
java.rmi.RemoteException

deleteMailbox

void deleteMailbox(AuthToken at,
                   java.lang.String email,
                   java.lang.String domain)
                   throws java.rmi.RemoteException
Deletes a mailbox.

Parameters:
at - authentication information.
email - mailbox local name, format: alphanumeric value, at least 2 characters.
domain - domain for mailbox, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException

deleteMailingList

void deleteMailingList(AuthToken at,
                       java.lang.String email,
                       java.lang.String domain)
                       throws java.rmi.RemoteException
Deletes mailing list.

Parameters:
at - authentication information.
email - mailing list local name, format: alphanumeric value, at least 2 characters.
domain - domain for mailing list, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException

subscribeToMailingList

void subscribeToMailingList(AuthToken at,
                            java.lang.String email,
                            java.lang.String domain,
                            java.lang.String[] sub,
                            boolean mod)
                            throws java.rmi.RemoteException
Adds subscribers to mailing list.

Parameters:
at - authentication information.
email - mailing list local name, format: alphanumeric value, at least 2 characters.
domain - domain for mailing list, format: xxx.yyy.zzz ...
sub - array of subscribers emails.
mod - if "true", the subscriber is considered to be moderator.
Throws:
java.lang.Exception
java.rmi.RemoteException

unsubscribeFromMailingList

void unsubscribeFromMailingList(AuthToken at,
                                java.lang.String email,
                                java.lang.String domain,
                                java.lang.String[] sub,
                                boolean mod)
                                throws java.rmi.RemoteException
Unsubscribes from the mailing list.

Parameters:
at - authentication information.
email - mailing list local name, format: alphanumeric value, at least 2 characters.
domain - domain for mailing list, format: xxx.yyy.zzz ...
sub - array of unsubscribers emails.
mod - if "true", the subscriber is considered to be moderator.
Throws:
java.lang.Exception
java.rmi.RemoteException

unsubscribeAllFromMailingList

void unsubscribeAllFromMailingList(AuthToken at,
                                   java.lang.String email,
                                   java.lang.String domain)
                                   throws java.rmi.RemoteException
Removes all subsribers from the mailing list.

Parameters:
at - authentication information.
email - mailing list local name, format: alphanumeric value, at least 2 characters.
domain - domain for mailing list, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException

setAntiSpamPreferences

void setAntiSpamPreferences(AuthToken at,
                            java.lang.String domainName,
                            java.lang.String local,
                            java.lang.String whiteList,
                            java.lang.String blackList,
                            java.lang.String spamLevel,
                            java.lang.String spamProcessing,
                            java.lang.String maxScore)
                            throws java.rmi.RemoteException
Sets antispam preferences.

Parameters:
at - authentication information.
domainName - domain name for antispam, format: xxx.yyy.zzz ...
local - antispam local name, format: alphanumeric value, at least 2 characters.
whiteList - while list emails, format: xxx@yyy.zzz separated by 'ENTER' or ',' or ';' or 'TAB' or 'SPACE'.
blackList - black list emails, format: xxx@yyy.zzz separated by 'ENTER' or ',' or ';' or 'TAB' or 'SPACE'.
spamLevel - spam level (default, very_aggressive, aggressive, normal, relaxed, permissive).
spamProcessing - spam processing, format: 'mark' or 'remove' or xxx@yyyy.zzz(move to email) )
maxScore - max score value, format: 'very_aggressive' or 'aggressive' or 'strict' or 'moderate' or 'neutral' or 'soft' or 'permissive' or 'loose' or 'very_loose'.
Throws:
java.lang.Exception
java.rmi.RemoteException

addAntiVirusResources

void addAntiVirusResources(AuthToken at,
                           java.lang.String domainName,
                           java.lang.String range)
                           throws java.rmi.RemoteException
Adds antiviruses for all mailresorces (range="all") OR all mailboxes (range="mailbox") of the maildomain.

Parameters:
at - authentication information.
domainName - domain name, format: xxx.yyy.zzz ...
range - format: "mailbox" or "all".
Throws:
java.lang.Exception
java.rmi.RemoteException

addAntiSpamResources

void addAntiSpamResources(AuthToken at,
                          java.lang.String domainName,
                          java.lang.String range)
                          throws java.rmi.RemoteException
Adds antispams for all mailresorces (range="all") OR all mailboxes (range="mailbox") of the maildomain.

Parameters:
at - authentication information.
domainName - domain name, format: xxx.yyy.zzz ...
range - format: "mailbox" or "all".
Throws:
java.lang.Exception
java.rmi.RemoteException

deleteAntiSpamResources

void deleteAntiSpamResources(AuthToken at,
                             java.lang.String domainName)
                             throws java.rmi.RemoteException
Deletes antispams for mail domain.

Parameters:
at - authentication information.
domainName - domain name, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException

deleteAntiVirusResources

void deleteAntiVirusResources(AuthToken at,
                              java.lang.String domainName)
                              throws java.rmi.RemoteException
Deletes antiviruses for mail domain.

Parameters:
at - authentication information.
domainName - domain name, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException

addMailbox

void addMailbox(AuthToken at,
                java.lang.String email,
                java.lang.String domain,
                java.lang.String password,
                java.lang.String description)
                throws java.rmi.RemoteException
Creates a mailbox.

Parameters:
at - authentication information.
email - mailbox local name, format: alphanumeric value, at least 2 characters.
domain - domain for mailbox, format: xxx.yyy.zzz ...
password - mailbox password,
description - mailbox description.
Throws:
java.lang.Exception
java.rmi.RemoteException

changeMailboxPassword

void changeMailboxPassword(AuthToken at,
                           java.lang.String email,
                           java.lang.String domain,
                           java.lang.String newPassword)
                           throws java.rmi.RemoteException
Changes mailbox password.

Parameters:
at - authentication information.
email - mailbox local name, format: alphanumeric value, at least 2 characters.
domain - domain for mailbox, format: xxx.yyy.zzz ...
newPassword - new mailbox password.
Throws:
java.lang.Exception
java.rmi.RemoteException

setMailboxQuota

void setMailboxQuota(AuthToken at,
                     java.lang.String email,
                     java.lang.String domain,
                     double quota)
                     throws java.rmi.RemoteException
Sets mailbox quota value.

Parameters:
at - authentication information.
email - mailbox local name, format: alphanumeric value, at least 2 characters.
domain - domain name, format: xxx.yyy.zzz ...
quota - new quota value.
Throws:
java.lang.Exception
java.rmi.RemoteException

setDiscardMail

void setDiscardMail(AuthToken at,
                    java.lang.String email,
                    java.lang.String domain,
                    boolean discard)
                    throws java.rmi.RemoteException
Sets mailbox to discard mail.

Parameters:
at - authentication information.
email - mailbox local name, format: alphanumeric value, at least 2 characters.
domain - domain for mailbox, format: xxx.yyy.zzz ...
discard - true, to discard mail, false, not to discard mail.
Throws:
java.lang.Exception
java.rmi.RemoteException

getMailboxes

java.lang.Object[] getMailboxes(AuthToken at,
                                java.lang.String domain)
                                throws java.rmi.RemoteException
Retrieves an array of mailboxes for the domain.

Parameters:
at - authentication information.
domain - domain name.
Returns:
array, each element is array of 4 elements in the following sequence: String local mailbox name, String mailbox name, Boolean discard mail flag, Double mailbox quota value.
Throws:
java.lang.Exception
java.rmi.RemoteException

addMailingList

void addMailingList(AuthToken at,
                    java.lang.String email,
                    java.lang.String domain,
                    java.lang.String description)
                    throws java.rmi.RemoteException
Creates new mailing list.

Parameters:
at - authentication information.
email - mailing list local name, format: alphanumeric value, at least 2 characters.
domain - domain for mailing list, format: xxx.yyy.zzz ...
description - description.
Throws:
java.lang.Exception
java.rmi.RemoteException

setMailingListTrailer

void setMailingListTrailer(AuthToken at,
                           java.lang.String email,
                           java.lang.String domain,
                           java.lang.String trailer)
                           throws java.rmi.RemoteException
Sets/removes mailing list trailer.

Parameters:
at - authentication information.
email - mailing list local name, format: alphanumeric value, at least 2 characters.
domain - domain for mailing list, format: xxx.yyy.zzz ...
trailer - text for the trailer, leave empty to remove trailer.
Throws:
java.lang.Exception
java.rmi.RemoteException

deleteAlias

void deleteAlias(AuthToken at,
                 java.lang.String local,
                 java.lang.String domain)
                 throws java.rmi.RemoteException
Deletes mail alias.

Parameters:
at - authentication information.
local - mail alias local name, format: alphanumeric value, at least 2 characters.
domain - domain for mail alias, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException

addMailForward

void addMailForward(AuthToken at,
                    java.lang.String local,
                    java.lang.String domain,
                    java.lang.String[] foreign,
                    java.lang.String description)
                    throws java.rmi.RemoteException
Creates mail forward.

Parameters:
at - authentication information.
local - mail forward local name, format: alphanumeric value, at least 2 characters.
domain - domain for mail forward, format: xxx.yyy.zzz ...
foreign - emails to forward messages to; foreign email format: alphanumeric values, at least 2 characters.
description - description.
Throws:
java.lang.Exception
java.rmi.RemoteException

addMailForwardSubscribers

void addMailForwardSubscribers(AuthToken at,
                               java.lang.String local,
                               java.lang.String domain,
                               java.lang.String[] foreign)
                               throws java.rmi.RemoteException
Adds subscribers to mail forward.

Parameters:
at - authentication information.
local - mail forward local name, format: alphanumeric value, at least 2 characters.
domain - domain for mail forward, format: xxx.yyy.zzz ...
foreign - emails to forward messages to; email format: alphanumeric value, at least 2 characters.
Throws:
java.lang.Exception
java.rmi.RemoteException

deleteMailForward

void deleteMailForward(AuthToken at,
                       java.lang.String local,
                       java.lang.String domain)
                       throws java.rmi.RemoteException
Deletes mail forward.

Parameters:
at - authentication information.
local - mail forward local name, format: alphanumeric value, at least 2 characters.
domain - domain for mail forward, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException

deleteMailForwardSubscribers

void deleteMailForwardSubscribers(AuthToken at,
                                  java.lang.String local,
                                  java.lang.String domain,
                                  java.lang.String[] foreign)
                                  throws java.rmi.RemoteException
Deletes subscribers from the mail forward.

Parameters:
at - authentication information.
local - mail forward local name, format: alphanumeric value, at least 2 characters.
domain - domain for mail forward, format: xxx.yyy.zzz ...
foreign - array of subscribers to delete; subscriber format: alphanumeric value, at least 2 characters.
Throws:
java.lang.Exception
java.rmi.RemoteException

getMailForwards

java.lang.Object[] getMailForwards(AuthToken at,
                                   java.lang.String domain)
                                   throws java.rmi.RemoteException
Retrieves an array of mail forwards.

Parameters:
at - authentication information.
domain - domain name.
Returns:
array, each element is array of 3 elements in the following sequence: String local mail forward name, String[] array of subscribers, String mail forward name.
Throws:
java.lang.Exception
java.rmi.RemoteException

addAutoResponder

void addAutoResponder(AuthToken at,
                      java.lang.String local,
                      java.lang.String domain,
                      java.lang.String subject,
                      java.lang.String message,
                      java.lang.String description,
                      int includeIncoming)
                      throws java.rmi.RemoteException
Creates autoresponder.

Parameters:
at - authentication information.
local - autoresponder local name, format: alphanumeric value, at least 2 characters.
domain - domain for autoresponder, format: xxx.yyy.zzz ...
subject - autoresponder subject line.
message - autoresponder message.
description - autoresponder description.
includeIncoming - 1 - incoming message is included to response, 0 - isn't included.
Throws:
java.lang.Exception
java.rmi.RemoteException

addAutoResponderWithoutIncMsg

void addAutoResponderWithoutIncMsg(AuthToken at,
                                   java.lang.String local,
                                   java.lang.String domain,
                                   java.lang.String subject,
                                   java.lang.String message,
                                   java.lang.String description)
                                   throws java.rmi.RemoteException
Creates autoresponder without incoming messages.

Parameters:
at - authentication information.
local - autoresponder local name.
domain - domain for autoresponder, format: xxx.yyy.zzz ...
subject - autoresponder subject line.
message - autoresponder message.
description - autoresponder description.
Throws:
java.lang.Exception
java.rmi.RemoteException

deleteAutoResponder

void deleteAutoResponder(AuthToken at,
                         java.lang.String local,
                         java.lang.String domain)
                         throws java.rmi.RemoteException
Deletes autoresponder.

Parameters:
at - authentication information.
local - autoresponder local name, format: alphanumeric value, at least 2 characters.
domain - domain for autoresponder, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException

updateAutoResponder

void updateAutoResponder(AuthToken at,
                         java.lang.String local,
                         java.lang.String domain,
                         java.lang.String subject,
                         java.lang.String message)
                         throws java.rmi.RemoteException
Updates autoresponder.

Parameters:
at - authentication information.
local - autoresponder local name, format: alphanumeric value, at least 2 characters.
domain - domain for autoresponder, format: xxx.yyy.zzz ...
subject - autoresponder subject line.
message - autoresponder message.
Throws:
java.lang.Exception
java.rmi.RemoteException

updateAutoResponder

void updateAutoResponder(AuthToken at,
                         java.lang.String local,
                         java.lang.String domain,
                         java.lang.String subject,
                         java.lang.String message,
                         int includeIncoming)
                         throws java.rmi.RemoteException
Updates autoresponder.

Parameters:
at - authentication information.
local - autoresponder local name, format: alphanumeric value, at least 2 characters.
domain - domain for autoresponder, format: xxx.yyy.zzz ...
subject - autoresponder subject line.
message - autoresponder message.
includeIncoming - 1 - incoming message is included to response, 0 - isn't included.
Throws:
java.lang.Exception
java.rmi.RemoteException

updateAutoResponder

void updateAutoResponder(AuthToken at,
                         java.lang.String local,
                         java.lang.String domain,
                         java.lang.String subject,
                         java.lang.String message,
                         int includeIncoming,
                         java.lang.String senderFilter)
                         throws java.rmi.RemoteException
Updates autoresponder.

Parameters:
at - authentication information.
local - autoresponder local name, format: alphanumeric value, at least 2 characters.
domain - domain for autoresponder, format: xxx.yyy.zzz ...
subject - autoresponder subject line.
message - autoresponder message.
includeIncoming - 1 - incoming message is included to response, 0 - isn't included.
senderFilter - sender filter set of string separated by ; or ENTER or TAB or SPACE
Throws:
java.lang.Exception
java.rmi.RemoteException

setCatchAll

void setCatchAll(AuthToken at,
                 java.lang.String email,
                 java.lang.String domain)
                 throws java.rmi.RemoteException
Sets catch of all flags to the email.

Parameters:
at - authentication information.
email - mailbox local name, format: alphanumeric value, at least 2 characters.
domain - domain for mail object, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException

getAutoResponders

java.lang.Object[] getAutoResponders(AuthToken at,
                                     java.lang.String domain)
                                     throws java.rmi.RemoteException
Retrieves an array of autoresponders for the domain.

Parameters:
at - authentication information.
domain - domain name.
Returns:
array, each element is array of 6 elements in the following sequence: String autoresponder local name, String autoresponder name, String autoresponder subject, String autoresponder message, String include incoming message flag, array list with attachment desriptions: file name, file size.
Throws:
java.lang.Exception
java.rmi.RemoteException

getCurrentMailObjects

NamedParameter[] getCurrentMailObjects(AuthToken at,
                                       java.lang.String domainName)
                                       throws java.rmi.RemoteException
Gets mail objects ( alias, autoresponder, mailing list, mailbox, forward ) for domain.

Parameters:
at - authentication information.
domainName - domain name.
Returns:
array of domains mail objects.
Throws:
java.lang.Exception
java.rmi.RemoteException

getSMTPServer

java.lang.String getSMTPServer(AuthToken at,
                               java.lang.String domainName)
                               throws java.rmi.RemoteException
Gets SMTP server for domain.

Parameters:
at - authentication information.
domainName - domain name, format: xxx.yyy.zzz ...
Returns:
SMTP server for domain.
Throws:
java.lang.Exception
java.rmi.RemoteException

getPOP3Server

java.lang.String getPOP3Server(AuthToken at,
                               java.lang.String domainName)
                               throws java.rmi.RemoteException
Gets POP3 server for domain

Parameters:
at - authentication information
domainName - domain name
Returns:
POP3 server for domain
Throws:
java.lang.Exception
java.rmi.RemoteException

getMailTraffic

java.lang.String getMailTraffic(AuthToken at,
                                java.lang.String domainName)
                                throws java.rmi.RemoteException
Gets mail traffic for domain.

Parameters:
at - authentication information.
domainName - domain name, format: xxx.yyy.zzz ...
Returns:
mail traffic for domain.
Throws:
java.lang.Exception
java.rmi.RemoteException

getAliasProperties

NamedParameter[] getAliasProperties(AuthToken at,
                                    java.lang.String domainName,
                                    java.lang.String aliasName)
                                    throws java.rmi.RemoteException
Gets mail alias properties.

Parameters:
at - authentication information.
domainName - domain name for mail alias.
aliasName - mail alias local name.
Returns:
array with alias properties - local name, foreign emails, description.
Throws:
java.lang.Exception
java.rmi.RemoteException

getAutoresponderProperties

NamedParameter[] getAutoresponderProperties(AuthToken at,
                                            java.lang.String domainName,
                                            java.lang.String responderName)
                                            throws java.rmi.RemoteException
Gets autoresponders properties.

Parameters:
at - authentication information.
domainName - domain name for autoresponder.
responderName - autoresponder local name.
Returns:
array with autoresponder properties - local name, message, subject, include_incoming, array with attachment properties - attachment file name, attachment file size.
Throws:
java.lang.Exception
java.rmi.RemoteException

getListProperties

NamedParameter[] getListProperties(AuthToken at,
                                   java.lang.String domainName,
                                   java.lang.String listName)
                                   throws java.rmi.RemoteException
Gets mailing list properties

Parameters:
at - authentication information
domainName - domain name for mailing list
listName - mailing list local name
Returns:
array with mailing list properties - email, desription, array with subscribers, array with moderators, trailer, mailing list owner, mailing list flag
Throws:
java.lang.Exception
java.rmi.RemoteException

getBoxProperties

NamedParameter[] getBoxProperties(AuthToken at,
                                  java.lang.String domainName,
                                  java.lang.String boxName)
                                  throws java.rmi.RemoteException
Gets mailbox properties.

Parameters:
at - authentication information.
domainName - domain name for mailbox.
boxName - mailbox local name.
Returns:
array with mailbox properties - email, description, used mail quota, mail box password.
Throws:
java.lang.Exception
java.rmi.RemoteException

getForwardProperties

NamedParameter[] getForwardProperties(AuthToken at,
                                      java.lang.String domainName,
                                      java.lang.String forwardName)
                                      throws java.rmi.RemoteException
Gets mail forward properties.

Parameters:
at - authentication information.
domainName - domain name for mail forward.
forwardName - mail forward local name.
Returns:
array with mail forward properties - forward local name, description, suscribers.
Throws:
java.lang.Exception
java.rmi.RemoteException

setMaildomainAntiSpamPreferences

void setMaildomainAntiSpamPreferences(AuthToken at,
                                      java.lang.String domainName,
                                      java.lang.String whiteList,
                                      java.lang.String blackList,
                                      java.lang.String spamLevel,
                                      java.lang.String spamProcessing,
                                      java.lang.String maxScore)
                                      throws java.rmi.RemoteException
Sets antispam preferences for mail domain.

Parameters:
at - authentication information.
domainName - domain name, format: xxx.yyy.zzz ...
whiteList - while list emails, format: xxx@yyy.zzz separated by 'ENTER' or ',' or ';' or 'TAB' or 'SPACE'.
blackList - black list emails, format: xxx@yyy.zzz separated by 'ENTER' or ',' or ';' or 'TAB' or 'SPACE'.
spamLevel - spam level (default, very_aggressive, aggressive, normal, relaxed, permissive).
spamProcessing - spam processing, format: 'mark' or 'remove' or xxx@yyyy.zzz(move to email) )
maxScore - max score value, format: 'very_aggressive' or 'aggressive' or 'strict' or 'moderate' or 'neutral' or 'soft' or 'permissive' or 'loose' or 'very_loose'.
Throws:
java.lang.Exception
java.rmi.RemoteException

addAntiSpam

void addAntiSpam(AuthToken at,
                 java.lang.String local,
                 java.lang.String domainName)
                 throws java.rmi.RemoteException
Creates antispam.

Parameters:
at - authentication information.
domainName - domain name for antispam, format: xxx.yyy.zzz ...
local - antispam local name, format: alphanumeric value, at least 2 characters.
Throws:
java.lang.Exception
java.rmi.RemoteException

useMaildomainAntiSpamPrefs

void useMaildomainAntiSpamPrefs(AuthToken at,
                                java.lang.String domainName,
                                java.lang.String local)
                                throws java.rmi.RemoteException
Enables use of mail domain antispam preferences for antispam.

Parameters:
at - authentication information.
domainName - domain name for antispam, format: xxx.yyy.zzz ...
local - antispam local name, format: alphanumeric value, at least 2 characters.
Throws:
java.lang.Exception
java.rmi.RemoteException

addAntiVirus

void addAntiVirus(AuthToken at,
                  java.lang.String local,
                  java.lang.String domainName)
                  throws java.rmi.RemoteException
Creates antivirus.

Parameters:
at - authentication information.
domainName - domain name for antivirus, format: xxx.yyy.zzz ...
local - antivirus local name, format: alphanumeric value, at least 2 characters.
Throws:
java.lang.Exception
java.rmi.RemoteException

setMaildomainAntiVirusPreferences

void setMaildomainAntiVirusPreferences(AuthToken at,
                                       java.lang.String domainName,
                                       java.lang.String virusProcessing,
                                       java.lang.String virusMimesMode,
                                       java.lang.String virusMimes)
                                       throws java.rmi.RemoteException
Sets antivirus preferences for mail domain.

Parameters:
at - authentication information.
domainName - domain name, format: xxx.yyy.zzz ...
virusProcessing - virus processing, format: 'mark' or 'remove' or xxx@yyyy.zzz(move to email) )
virusMimesMode - format: 'disable' or 'allow' or 'deny'.
virusMimes - mimes list separated by ',' (example: application/andrew-inset,application/illustrator)
Throws:
java.lang.Exception
java.rmi.RemoteException

setAntiVirusPreferences

void setAntiVirusPreferences(AuthToken at,
                             java.lang.String domainName,
                             java.lang.String local,
                             java.lang.String virusProcessing,
                             java.lang.String virusMimesMode,
                             java.lang.String virusMimes)
                             throws java.rmi.RemoteException
Sets antivirus preferences.

Parameters:
at - authentication information.
domainName - domain name for antivirus, format: xxx.yyy.zzz ...
local - antivirus local name, format: alphanumeric value, at least 2 characters.
virusProcessing - virus processing, format: 'mark' or 'remove' or xxx@yyyy.zzz(move to email) )
virusMimesMode - format: 'disable' or 'allow' or 'deny'.
virusMimes - mimes list separated by ',' (example: application/andrew-inset,application/illustrator)
Throws:
java.lang.Exception
java.rmi.RemoteException

useMaildomainAntiVirusPrefs

void useMaildomainAntiVirusPrefs(AuthToken at,
                                 java.lang.String domainName,
                                 java.lang.String local)
                                 throws java.rmi.RemoteException
Enables use of mail domain antivirus preferences for antivirus.

Parameters:
at - authentication information.
domainName - domain name for antivirus, format: xxx.yyy.zzz ...
local - antivirus local name, format: alphanumeric value, at least 2 characters.
Throws:
java.lang.Exception
java.rmi.RemoteException

getAntiViruses

java.lang.Object[] getAntiViruses(AuthToken at,
                                  java.lang.String domain)
                                  throws java.rmi.RemoteException
Retrieves an array of antiviruses for the domain.

Parameters:
at - authentication information.
domain - domain name.
Returns:
array, each element is array of 7 elements in the following sequence: String local antispam name, String antispam email, String virus processing, String mimes mode, String mimes list separated by ','.
Throws:
java.lang.Exception
java.rmi.RemoteException

getAntiSpams

java.lang.Object[] getAntiSpams(AuthToken at,
                                java.lang.String domain)
                                throws java.rmi.RemoteException
Retrieves an array of antispams for the domain.

Parameters:
at - authentication information.
domain - domain name.
Returns:
array, each element is array of 7 elements in the following sequence: String local antispam name, String antispam email, String whitelist separated by ',', String blacklist separated by ',', String spam level, String spam processing, String max score value.
Throws:
java.lang.Exception
java.rmi.RemoteException

deleteAntiVirus

void deleteAntiVirus(AuthToken at,
                     java.lang.String localName,
                     java.lang.String domainName)
                     throws java.rmi.RemoteException
Deletes antivirus.

Parameters:
at - authentication information.
localName - antivirus local name, format: alphanumeric value, at least 2 characters.
domainName - domain name for antivirus, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException

deleteAntiSpam

void deleteAntiSpam(AuthToken at,
                    java.lang.String localName,
                    java.lang.String domainName)
                    throws java.rmi.RemoteException
Deletes antispam.

Parameters:
at - authentication information.
localName - antispam local name, format: alphanumeric value, at least 2 characters.
domainName - domain name for antispam, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException

addSPF

void addSPF(AuthToken at,
            java.lang.String domainName,
            java.lang.String processing)
            throws java.rmi.RemoteException
Adds SPF for mail domain.

Parameters:
at - authentication information.
domainName - domain name, format: xxx.yyy.zzz ...
processing - SPF prefix, format: 'fail' or 'softfail' or 'pass' or 'neutral'.
Throws:
java.lang.Exception
java.rmi.RemoteException

deleteSPF

void deleteSPF(AuthToken at,
               java.lang.String domainName)
               throws java.rmi.RemoteException
Deletes SPF resource.

Parameters:
at - authentication information.
domainName - domain name, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException

enableMailService

void enableMailService(AuthToken at,
                       java.lang.String domainName)
                       throws java.rmi.RemoteException
Enables mail service for the specified domain.

Parameters:
at - authentication information.
domainName - domain name, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException

disableMailService

void disableMailService(AuthToken at,
                        java.lang.String domainName)
                        throws java.rmi.RemoteException
Disables mail service for the specified domain.

Parameters:
at - authentication information.
domainName - domain name, format: xxx.yyy.zzz ...
Throws:
java.lang.Exception
java.rmi.RemoteException


Copyright © 2005 Positive Software Corporation. All Rights Reserved.