Parallels H-Sphere Documentation Developer Guide Javadoc XML API

 

H-Sphere XML API: Mail Services

 
 

Related Docs:   H-Sphere XML API Reference Javadoc XML API

Last modified: 21 Aug 2006

 

WARNING: This documentation covers Parallels H-Sphere versions up to 3.1. For the latest up-to-date Parallels H-Sphere documentation, please proceed to the official Parallels site.

WARNING:
This documentation is outdated! Please refer to Javadoc XML API for up-to-date reference!

Actions:

 

Action: addMailbox

Description: adds a mailbox

Parameters:

AuthToken:at - authentication information
String:email- mailbox name
String:domain - domain for mailbox
String:password - mailbox password
String:description - description

Response: empty

Example:

      <soapenv:Body>
         <ns1:addMailbox soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">xyx</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <password xsi:type="xsd:string">qwerty</password>
            <description xsi:type="xsd:string">Test Mailbox 1</description>
         </ns1:addMailbox>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:addMailboxResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: deleteMailbox

Description: deletes a mailbox

Parameters:

AuthToken:at- authentication information
String:email- mailbox name

Response: empty

Example:

      <soapenv:Body>
         <ns1:deleteMailbox soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">xyx</email>
            <domain xsi:type="xsd:string">example1.com</domain>
         </ns1:deleteMailbox>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:deleteMailboxResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: changeMailboxPassword

Description: changes mailbox password

Parameters:

AuthToken:at- authentication information
String:email- mailbox name
String:domain - domain for mailbox
String:newPassword - new mailbox password

Response: empty

Example:

      <soapenv:Body>
         <ns1:changeMailboxPassword soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">xyx</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <newPassword xsi:type="xsd:string">qwerty2</newPassword>
         </ns1:changeMailboxPassword>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:changeMailboxPasswordResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: getMailboxQuota

Description: returns mailbox quota

Parameters:

AuthToken:at- authentication information
String:email- mailbox name
String:domain - domain for mailbox

Response: Double - mailbox quota

Example:

      <soapenv:Body>
         <ns1:getMailboxQuota soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">xyx</email>
            <domain xsi:type="xsd:string">example1.com</domain>
         </ns1:getMailboxQuota>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:getMailboxQuotaResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <getMailboxQuotaReturn xsi:type="xsd:double">10.0</getMailboxQuotaReturn>
         </ns1:getMailboxQuotaResponse>
      </soapenv:Body>

 

Action: setMailboxQuota

Description: sets mailbox quota

Parameters:

AuthToken:at- authentication information
String:email- mailbox name
String:domain - domain for mailbox
Double:quota - new mailbox quota

Response: empty

Example:

      <soapenv:Body>
         <ns1:setMailboxQuota soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">xyx</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <quota xsi:type="xsd:double">35.0</quota>
         </ns1:setMailboxQuota>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:setMailboxQuotaResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: setDiscardMail

Description: sets mailbox to discard mail

Parameters:

AuthToken:at- authentication information
String:email- mailbox name
String:domain - domain for mailbox
Boolean:discard - true, to discard mail, false, not to discard mail

Response: empty

Example:

      <soapenv:Body>
         <ns1:setDiscardMail soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">xyx</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <discard xsi:type="xsd:boolean">true</discard>
         </ns1:setDiscardMail>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:setDiscardMailResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: getDiscardMail

Description: retrieves discard mail flag

Parameters:

AuthToken:at- authentication information
String:email- mailbox name
String:domain - domain for mailbox

Response: Boolean - sets to "true" if mail will be discarded

Example:

      <soapenv:Body>
         <ns1:getDiscardMail soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">xyx</email>
            <domain xsi:type="xsd:string">example1.com</domain>
         </ns1:getDiscardMail>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:getDiscardMailResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <getDiscardMailReturn xsi:type="xsd:boolean">true</getDiscardMailReturn>
         </ns1:getDiscardMailResponse>
      </soapenv:Body>

 

Action: getMailboxes

Description: retrieves an array of mailboxes for the domain

Parameters:

AuthToken:at- authentication information
String:domain - domain for mailbox

Response: Array of 4 elements in the following sequence: Mailbox name (String), Description (String), discard mail flag (Boolean), quota (Double).

Example:

      <soapenv:Body>
         <ns1:getMailboxes soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <domain xsi:type="xsd:string">example1.com</domain>
         </ns1:getMailboxes>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:getMailboxesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <getMailboxesReturn xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[3]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
               <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[4]">
                  <item xsi:type="xsd:string">webmaster</item>
                  <item xsi:type="xsd:string">Mailbox webmaster@example1.com</item>
                  <item xsi:type="xsd:boolean">false</item>
                  <item xsi:type="xsd:double">10.0</item>
               </item>
               <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[4]">
                  <item xsi:type="xsd:string">xyz</item>
                  <item xsi:type="xsd:string">Mailbox xyz@example1.com</item>
                  <item xsi:type="xsd:boolean">false</item>
                  <item xsi:type="xsd:double">10.0</item>
               </item>
               <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[4]">
                  <item xsi:type="xsd:string">xyx</item>
                  <item xsi:type="xsd:string">Mailbox xyx@example1.com</item>
                  <item xsi:type="xsd:boolean">false</item>
                  <item xsi:type="xsd:double">35.0</item>
               </item>
            </getMailboxesReturn>
         </ns1:getMailboxesResponse>
      </soapenv:Body>

 

Action: addMailingList

Description: creates new mailing list

Parameters:

AuthToken:at- authentication information
String:email- mailbox name
String:domain - domain for mailbox
String:description - mailing list description

Response: empty

Example:

      <soapenv:Body>
         <ns1:addMailingList soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">mylist</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <description xsi:type="xsd:string">My Mailing List 1</description>
         </ns1:addMailingList>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:addMailingListResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: subscribeToMailingList

Description: add subscribers to mailing list

Parameters:

AuthToken:at- authentication information
String:email- mailing list name
String:domain - domain for mailing list
Array:subscribers - array of subscribers emails
Boolean:mod - if "true", the subscriber is considered to be moderator

Response: empty

Example:

      <soapenv:Body>
         <ns1:subscribeToMailingList soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">mylist</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <subscribers xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[3]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
               <item>iseletsk@psoft.net</item>
               <item>support@test.com</item>
               <item>bill@microsoft.com</item>
            </subscribers>
            <mod xsi:type="xsd:boolean">true</mod>
         </ns1:subscribeToMailingList>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns3="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns3:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:subscribeToMailingListResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: unsubscribeFromMailingList

Description: unsubscribes from the mailing list

Parameters:

AuthToken:at- authentication information
String:email- mailing list name
String:domain - domain for mailing list
Array:subscribers - array of emails of subscribers
Boolean:mod - if "true", the subscriber is considered to be moderator

Response: empty

Example:

      <soapenv:Body>
         <ns1:unsubscribeFromMailingList soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">mylist</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <subscribers xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[3]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
               <item>iseletsk@psoft.net</item>
               <item>support@test.com</item>
               <item>bill@microsoft.com</item>
            </subscribers>
            <mod xsi:type="xsd:boolean">true</mod>
         </ns1:unsubscribeFromMailingList>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns3="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns3:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:unsubscribeFromMailingListResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: setMailingListTrailer

Description: sets/removes mailing list trailer

Parameters:

AuthToken:at- authentication information
String:email- mailing list name
String:domain - domain for mailing list
String:trailer - text for the trailer, leave empty to remove trailer

Response: empty

Example:

      <soapenv:Body>
         <ns1:setMailingListTrailer soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">mylist</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <trailer xsi:type="xsd:string">This is Trailer text</trailer>
         </ns1:setMailingListTrailer>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:setMailingListTrailerResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: unsubscribeAllFromMailingList

Description: removes all subsribers from the mailing list

Parameters:

AuthToken:at- authentication information
String:email- mailing list name
String:domain - domain for mailing list

Response: empty

Example:

      <soapenv:Body>
         <ns1:unsubscribeAllFromMailingList soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">mylist</email>
            <domain xsi:type="xsd:string">example1.com</domain>
         </ns1:unsubscribeAllFromMailingList>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:unsubscribeAllFromMailingListResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: deleteMailingList

Description: deletes mailing list

Parameters:

AuthToken:at- authentication information
String:email- mailing list name
String:domain - mailing list domain

Response: empty

Example:

      <soapenv:Body>
         <ns1:deleteMailingList soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">mylist</email>
            <domain xsi:type="xsd:string">example1.com</domain>
         </ns1:deleteMailingList>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:deleteMailingListResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: addAlias

Description: sets mailbox quota

Parameters:

AuthToken:at- authentication information
String:email- mailbox name
String:domain - domain for mailbox
String:foreign - email address to point to

Response: empty

Example:

      <soapenv:Body>
         <ns1:addAlias soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">myalias1</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <foreign xsi:type="xsd:string">xyx</foreign>
         </ns1:addAlias>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:addAliasResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: deleteAlias

Description: deletes alias

Parameters:

AuthToken:at- authentication information
String:email- alias name
String:domain - domain for alias

Response: empty

Example:

      <soapenv:Body>
         <ns1:deleteAlias soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">myalias1</email>
            <domain xsi:type="xsd:string">example1.com</domain>
         </ns1:deleteAlias>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:deleteAliasResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: getAliases

Description: retrieves the list of aliases

Parameters:

AuthToken:at- authentication information
String:domain - domain for mailbox

Response: Array of 3 Strings - alias name, foreign name, description

Example:

      <soapenv:Body>
         <ns1:getAliases soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <domain xsi:type="xsd:string">example1.com</domain>
         </ns1:getAliases>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:getAliasesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <getAliasesReturn xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[2]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
               <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[3]">
                  <item>myalias1</item>
                  <item>xyx</item>
                  <item>Mail Box Alias myalias1@example1.com</item>
               </item>
               <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[3]">
                  <item>myalias2</item>
                  <item>xyx</item>
                  <item>Mail Box Alias myalias2@example1.com</item>
               </item>
            </getAliasesReturn>
         </ns1:getAliasesResponse>
      </soapenv:Body>

 

Action: addMailForward

Description: adds mail forward

Parameters:

AuthToken:at- authentication information
String:email- mail forward name
String:domain - domain for mail forward
Array:subscribers - emails to forward to

Response: empty

Example:

      <soapenv:Body>
         <ns1:addMailForward soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">myforward</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <subscribers xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[3]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
               <item>iseletsk@psoft.net</item>
               <item>support@test.com</item>
               <item>bill@microsoft.com</item>
            </subscribers>
         </ns1:addMailForward>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:addMailForwardResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: deleteMailForward

Description: deletes mail forward

Parameters:

AuthToken:at- authentication information
String:email- mail forward name
String:domain - domain for mail forward

Response: empty

Example:

      <soapenv:Body>
         <ns1:deleteMailForward soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">myforward</email>
            <domain xsi:type="xsd:string">example1.com</domain>
         </ns1:deleteMailForward>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:deleteMailForwardResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: addMailForwardSubscribers

Description: adds subscribers to mail forward

Parameters:

AuthToken:at- authentication information
String:email- mail forward name
String:domain - domain for mailforward
Array:subscribers - emails to forward messages to

Response: empty

Example:

      <soapenv:Body>
         <ns1:addMailForwardSubscribers soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">myforward</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <subscribers xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
               <item>support@psoft.net</item>
            </subscribers>
         </ns1:addMailForwardSubscribers>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:addMailForwardSubscribersResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: getMailForwards

Description: retrieves an array of mail forwards

Parameters:

AuthToken:at- authentication information
String:domain - domain for mail forwards

Response: Array of 3 Strings - forward name, array of subscribers, description

Example:

      <soapenv:Body>
         <ns1:getMailForwards soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <domain xsi:type="xsd:string">example1.com</domain>
         </ns1:getMailForwards>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
<soapenv:Body>
  <ns1:getMailForwardsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <getMailForwardsReturn xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[1]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[3]">
     <item xsi:type="xsd:string">forw</item>
     <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[1]">
      <item xsi:type="xsd:string">ggg@ooo.jj</item>
     </item>
     <item xsi:type="xsd:string">Mail Forward forw@icosmos.icosmos.zone</item>
    </item>
   </getMailForwardsReturn>
  </ns1:getMailForwardsResponse>
 </soapenv:Body>

 

Action: deleteMailForwardSubscribers

Description: deletes subscribers from the mail forward

Parameters:

AuthToken:at- authentication information
String:email- mail forward name
String:domain - domain for mail forward
Array:subscribers - Array of subscribers to delete

Response: empty

Example:

      <soapenv:Body>
         <ns1:deleteMailForwardSubscribers soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">myforward</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <subscribers xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
               <item>support@test.com</item>
            </subscribers>
         </ns1:deleteMailForwardSubscribers>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:deleteMailForwardSubscribersResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: addAutoResponder

Description: creates new autoresponder

Parameters:

AuthToken:at- authentication information
String:email- autoresponder name
String:domain - domain for autoresponder
String:foreign - email to forward to, empty if no forwarding needed
String:subject - autoresponder subject line
String:message - autoresponder message
String:description - description

Response: empty

Example:

      <soapenv:Body>
         <ns1:addAutoResponder soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">myauto</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <foreign xsi:type="xsd:string"></foreign>
            <subject xsi:type="xsd:string">My Responder Subject</subject>
            <message xsi:type="xsd:string">Test Response</message>
            <description xsi:type="xsd:string">My Responder</description>
         </ns1:addAutoResponder>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:addAutoResponderResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: deleteAutoResponder

Description: deletes autoresponder

Parameters:

AuthToken:at- authentication information
String:email- autoresponder name
String:domain - domain for autoresponder

Response: empty

Example:

      <soapenv:Body>
         <ns1:deleteAutoResponder soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">myauto</email>
            <domain xsi:type="xsd:string">example1.com</domain>
         </ns1:deleteAutoResponder>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:deleteAutoResponderResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: updateAutoResponder

Description: updates autoresponder

Parameters:

AuthToken:at- authentication information
String:email- autoresponder name
String:domain - domain for autoresponder
String:foreign - email to forward to, empty if no forwarding needed
String:subject - autoresponder subject line
String:message - autoresponder message

Response: empty

Example:

      <soapenv:Body>
         <ns1:updateAutoResponder soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">myauto</email>
            <domain xsi:type="xsd:string">example1.com</domain>
            <foreign xsi:type="xsd:string">test@psoft.net</foreign>
            <subject xsi:type="xsd:string">My Responder Subject 1</subject>
            <message xsi:type="xsd:string">Test Response</message>
         </ns1:updateAutoResponder>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:updateAutoResponderResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: setCatchAll

Description: sets catch of all flags to the mailbox

Parameters:

AuthToken:at- authentication information
String:email- mailbox name
String:domain - domain for mailbox

Response: empty

Example:

      <soapenv:Body>
         <ns1:setCatchAll soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
            <at href="#id0"/>
            <email xsi:type="xsd:string">xyx</email>
            <domain xsi:type="xsd:string">example1.com</domain>
         </ns1:setCatchAll>
         <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
            <login xsi:type="xsd:string">test99</login>
            <password xsi:type="xsd:string">test99</password>
            <accountId xsi:type="xsd:int">0</accountId>
            <role xsi:type="ns2:Role" xsi:nil="true"/>
         </multiRef>
      </soapenv:Body>
...
      <soapenv:Body>
         <ns1:setCatchAllResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
      </soapenv:Body>

 

Action: getPOP3Server

Description: gets pop3 server for domain

Parameters:

AuthToken:at- authentication information
String:domainName - domain name

Response: String: pop3 server for domain

Example:

 <soapenv:Body>
  <ns1:getPOP3Server soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">vovik111.psoft</domainName>
  </ns1:getPOP3Server>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">vovan2</login>
   <password xsi:type="xsd:string">vovan</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getPOP3ServerResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <getPOP3ServerReturn xsi:type="xsd:string">mail.vovik111.psoft</getPOP3ServerReturn>
  </ns1:getPOP3ServerResponse>
 </soapenv:Body>

 

Action: getSMTPServer

Description: gets SMTP server for domain

Parameters:

AuthToken:at- authentication information
String:domainName - domain name

Response: String: SMTP server for domain

Example:

 <soapenv:Body>
  <ns1:getSMTPServer soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">vovik111.psoft</domainName>
  </ns1:getSMTPServer>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">vovan2</login>
   <password xsi:type="xsd:string">vovan</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getSMTPServerResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <getSMTPServerReturn xsi:type="xsd:string">mail.vovik111.psoft</getSMTPServerReturn>
  </ns1:getSMTPServerResponse>
 </soapenv:Body>

 

Action: getMailTraffic

Description: gets mail traffic for domain

Parameters:

AuthToken:at- authentication information
String:domainName - domain name

Response: String: mail traffic for domain

Example:

 <soapenv:Body>
  <ns1:getMailTraffic soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">vovik111.psoft</domainName>
  </ns1:getMailTraffic>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">vovan2</login>
   <password xsi:type="xsd:string">vovan</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getMailTrafficResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <getMailTrafficReturn xsi:type="xsd:string">0 KB</getMailTrafficReturn>
  </ns1:getMailTrafficResponse>
 </soapenv:Body>

 

Action: getCurrentMailObjects

Description: gets mail objects ( alias, autoresponder, mailing list, mailbox, forward ) for domain

Parameters:

AuthToken:at- authentication information
String:domainName - domain name

Response: NamedParameter[]: array of domains mail objects

Example:

 <soapenv:Body>
  <ns1:getCurrentMailObjects soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">vovik111.psoft</domainName>
</ns1:getCurrentMailObjects>
   <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">vovan2</login>
   <password xsi:type="xsd:string">vovan</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getCurrentMailObjectsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <getCurrentMailObjectsReturn xsi:type="soapenc:Array" soapenc:arrayType="ns3:NamedParameter[10]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:ns3="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <item href="#id0"/>
   <item href="#id1"/>
   <item href="#id2"/>
   <item href="#id3"/>
   <item href="#id4"/>
   <item href="#id5"/>
   <item href="#id6"/>
   <item href="#id7"/>
   <item href="#id8"/>
   <item href="#id9"/>
   </getCurrentMailObjectsReturn>
  </ns1:getCurrentMailObjectsResponse>
  <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:NamedParameter" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:MailServices">
   <name xsi:type="xsd:string">mail_domain_alias</name>
   <value xsi:type="xsd:string">ddd@vovik111.psoft</value>
  </multiRef>
  <multiRef id="id9" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:NamedParameter" xmlns:ns5="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">mail_forward</name>
   <value xsi:type="xsd:string">111@vovik111.psoft</value>
  </multiRef>
  <multiRef id="id7" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:NamedParameter" xmlns:ns6="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">mailbox</name>
   <value xsi:type="xsd:string">postmaster@vovik111.psoft</value>
  </multiRef>
  <multiRef id="id4" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns7:NamedParameter" xmlns:ns7="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">mailing_list</name>
   <value xsi:type="xsd:string">vovan@vovik111.psoft</value>
  </multiRef>
  <multiRef id="id6" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns8:NamedParameter" xmlns:ns8="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">mailbox</name>
   <value xsi:type="xsd:string">webmaster@vovik111.psoft</value>
  </multiRef>
  <multiRef id="id8" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns9:NamedParameter" xmlns:ns9="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">mail_forward</name>
   <value xsi:type="xsd:string">yuyuyu@vovik111.psoft</value>
  </multiRef>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns10:NamedParameter" xmlns:ns10="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">mail_domain_alias</name>
   <value xsi:type="xsd:string">ssss@vovik111.psoft</value>
  </multiRef>
  <multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns11:NamedParameter" xmlns:ns11="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">responder</name>
   <value xsi:type="xsd:string">resp2@vovik111.psoft</value>
  </multiRef>
  <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns12:NamedParameter" xmlns:ns12="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">responder</name>
   <value xsi:type="xsd:string">vovan2@vovik111.psoft</value>
  </multiRef>
  <multiRef id="id5" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns13:NamedParameter" xmlns:ns13="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">mailing_list</name>
   <value xsi:type="xsd:string">vv3@vovik111.psoft</value>
  </multiRef>
 </soapenv:Body>

 

Action: getAliasProperties

Description: gets mail alias properties

Parameters:

AuthToken:at- authentication information
String:domainName - domain name
String:aliasName - alias name

Response: NamedParameter[]: alias properties

Example:

 <soapenv:Body>
  <ns1:getAliasProperties soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">vovik111.psoft</domainName>
   <aliasName xsi:type="xsd:string">ssss@vovik111.psoft</aliasName>
  </ns1:getAliasProperties>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">vovan2</login>
   <password xsi:type="xsd:string">vovan</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getAliasPropertiesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <getAliasPropertiesReturn xsi:type="soapenc:Array" soapenc:arrayType="ns3:NamedParameter[3]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:ns3="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item href="#id0"/>
    <item href="#id1"/>
    <item href="#id2"/>
   </getAliasPropertiesReturn>
  </ns1:getAliasPropertiesResponse>
  <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:NamedParameter" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:MailServices">
   <name xsi:type="xsd:string">foreign</name>
   <value xsi:type="xsd:string">webmaster</value>
  </multiRef>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:NamedParameter" xmlns:ns5="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">local</name>
   <value xsi:type="xsd:string">ssss</value>
  </multiRef>
  <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:NamedParameter" xmlns:ns6="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">description</name>
   <value xsi:type="xsd:string">No description</value>
  </multiRef>
 </soapenv:Body>

 

Action: getAutoresponderProperties

Description: gets autoresponders properties

Parameters:

AuthToken:at- authentication information
String:domainName - domain name
String:responderName - autoresponder name

Response: NamedParameter[]: autoresponder properties

Example:

 <soapenv:Body>
  <ns1:getAutoresponderProperties soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">vovik111.psoft</domainName>
   <responderName xsi:type="xsd:string">vovan2@vovik111.psoft</responderName>
  </ns1:getAutoresponderProperties>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">vovan2</login>
   <password xsi:type="xsd:string">vovan</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getAutoresponderPropertiesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <getAutoresponderPropertiesReturn xsi:type="soapenc:Array" soapenc:arrayType="ns3:NamedParameter[3]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:ns3="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item href="#id0"/>
    <item href="#id1"/>
    <item href="#id2"/>
   </getAutoresponderPropertiesReturn>
  </ns1:getAutoresponderPropertiesResponse>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:NamedParameter" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:MailServices">
   <name xsi:type="xsd:string">local</name>
   <value xsi:type="xsd:string">vovan2</value>
  </multiRef>
  <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:NamedParameter" xmlns:ns5="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">message</name>
   <value xsi:type="xsd:string"></value>
  </multiRef>
  <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:NamedParameter" xmlns:ns6="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">foreign</name>
   <value xsi:type="xsd:string">anton@vingeo.com</value>
  </multiRef>
 </soapenv:Body>

 

Action: getListProperties

Description: gets mailing list properties

Parameters:

AuthToken:at- authentication information
String:domainName - domain name
String:listName - mailing list name

Response: NamedParameter[]: mailing list properties

Example:

 <soapenv:Body>
  <ns1:getListProperties soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">vovik111.psoft</domainName>
   <listName xsi:type="xsd:string">vovan@vovik111.psoft</listName>
  </ns1:getListProperties>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">vovan2</login>
   <password xsi:type="xsd:string">vovan</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getListPropertiesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <getListPropertiesReturn xsi:type="soapenc:Array" soapenc:arrayType="ns3:NamedParameter[6]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:ns3="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item href="#id0"/>
    <item href="#id1"/>
    <item href="#id2"/>
    <item href="#id3"/>
    <item href="#id4"/>
    <item href="#id5"/>
   </getListPropertiesReturn>
  </ns1:getListPropertiesResponse>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:NamedParameter" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:MailServices">
   <name xsi:type="xsd:string">email</name>
   <value xsi:type="xsd:string">vovan</value>
  </multiRef>
  <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:NamedParameter" xmlns:ns5="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">description</name>
   <value xsi:type="xsd:string">No description</value>
  </multiRef>
  <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:NamedParameter" xmlns:ns6="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">subscriber</name>
   <value xsi:type="xsd:string">23@1354.er</value>
  </multiRef>
  <multiRef id="id5" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns7:NamedParameter" xmlns:ns7="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">trailer</name>
   <value xsi:type="xsd:string">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</value>
  </multiRef>
  <multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns8:NamedParameter" xmlns:ns8="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">subscriber</name>
   <value xsi:type="xsd:string">cc@11.11</value>
  </multiRef>
  <multiRef id="id4" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns9:NamedParameter" xmlns:ns9="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">moderator</name>
   <value xsi:type="xsd:string">34@13.mn</value>
  </multiRef>
 </soapenv:Body>

 

Action: getBoxProperties

Description: gets mailbox properties

Parameters:

AuthToken:at- authentication information
String:domainName - domain name
String:boxName - mailbox name

Response: NamedParameter[]: mailbox properties

Example:

 <soapenv:Body>
  <ns1:getBoxProperties soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">vovik111.psoft</domainName>
   <boxName xsi:type="xsd:string">webmaster@vovik111.psoft</boxName>
  </ns1:getBoxProperties>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">vovan2</login>
   <password xsi:type="xsd:string">vovan</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getBoxPropertiesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <getBoxPropertiesReturn xsi:type="soapenc:Array" soapenc:arrayType="ns3:NamedParameter[4]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:ns3="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item href="#id0"/>
    <item href="#id1"/>
    <item href="#id2"/>
    <item href="#id3"/>
   </getBoxPropertiesReturn>
  </ns1:getBoxPropertiesResponse>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:NamedParameter" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:MailServices">
   <name xsi:type="xsd:string">email</name>
   <value xsi:type="xsd:string">webmaster</value>
  </multiRef>
  <multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:NamedParameter" xmlns:ns5="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">password</name>
   <value xsi:type="xsd:string">222222</value>
  </multiRef>
  <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:NamedParameter" xmlns:ns6="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">description</name>
   <value xsi:type="xsd:string">webmaster's account</value>
  </multiRef>
  <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns7:NamedParameter" xmlns:ns7="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">quota</name>
   <value xsi:type="xsd:string">0.03</value>
  </multiRef>
 </soapenv:Body>

 

Action: getForwardProperties

Description: gets forward properties

Parameters:

AuthToken:at- authentication information
String:domainName - domain name
String:forwardName - forward name

Response: NamedParameter[]: forward properties

Example:

 <soapenv:Body>
  <ns1:getForwardProperties soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">vovik111.psoft</domainName>
   <forwardName xsi:type="xsd:string">yuyuyu@vovik111.psoft</forwardName>
  </ns1:getForwardProperties>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">vovan2</login>
   <password xsi:type="xsd:string">vovan</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:getForwardPropertiesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <getForwardPropertiesReturn xsi:type="soapenc:Array" soapenc:arrayType="ns3:NamedParameter[4]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:ns3="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item href="#id0"/>
    <item href="#id1"/>
    <item href="#id2"/>
    <item href="#id3"/>
   </getForwardPropertiesReturn>
  </ns1:getForwardPropertiesResponse>
  <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:NamedParameter" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:MailServices">
   <name xsi:type="xsd:string">description</name>
   <value xsi:type="xsd:string">ytyty</value>
  </multiRef>
  <multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:NamedParameter" xmlns:ns5="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">subscriber</name>
   <value xsi:type="xsd:string">xx@123.com</value>
  </multiRef>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:NamedParameter" xmlns:ns6="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">local</name>
   <value xsi:type="xsd:string">yuyuyu</value>
  </multiRef>
  <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns7:NamedParameter" xmlns:ns7="urn:MailServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <name xsi:type="xsd:string">subscriber</name>
   <value xsi:type="xsd:string">uyu@gfgfgfg.huy</value>
  </multiRef>
 </soapenv:Body>

 

Action: setMaildomainAntispamPreferences

Description: set antispam preferences for mail domain.

Parameters:

AuthToken:at- authentication information.
String:domainName - domain name.
String:whiteList - white list.
String:blackList - black list.
String:spamLevel - spam level (default, very_aggressive, aggressive, normal, relaxed, permissive).

Example:

 <soapenv:Body>
  <ns1:setMaildomainAntispamPreferences soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">usertesdom.org</domainName>
   <whiteList xsi:type="xsd:string">vn@psoft.lviv.ua,*@psoft.net</whiteList>
   <blackList xsi:type="xsd:string">*@moner.com,a@b.com</blackList>
   <spamLevel xsi:type="xsd:string">normal</spamLevel>
  </ns1:setMaildomainAntispamPreferences>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">unixoid</login>
   <password xsi:type="xsd:string">123456</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
...
 <soapenv:Body>
  <ns1:setMaildomainAntispamPreferencesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
 </soapenv:Body>

 

Action: setMailboxAntispamPreferences

Description: set antispam preferences for mailbox.

Parameters:

AuthToken:at- authentication information.
String:domainName - domain name.
String email - email.
String:whiteList - white list.
String:blackList - black list.
String:spamLevel - spam level(default, very_aggressive, aggressive, normal, relaxed, permissive).

Example:

 <soapenv:Body>
  <ns1:setMailboxAntispamPreferences soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">usertesdom.org</domainName>
   <email xsi:type="xsd:string">test</email>
   <whiteList xsi:type="xsd:string">vv@psoft.net,*@psoft.lviv.ua</whiteList>
   <blackList xsi:type="xsd:string">aaa@b.com</blackList>
   <spamLevel xsi:type="xsd:string">normal</spamLevel>
  </ns1:setMailboxAntispamPreferences>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">unixoid</login>
   <password xsi:type="xsd:string">monster</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>
....
 <soapenv:Body>
  <ns1:setMailboxAntispamPreferencesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
 </soapenv:Body>

 

Action: addSPF

Description: adds SPF

Parameters:

AuthToken:at - authentication information
String:domainName - domain name
String processing - SPF prefix (values: fail,softfail,pass,neutral)

Response: empty

Example:

<soapenv:Body>
  <ns1:addSPF soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">borisfen.dom</domainName>    <processing xsi:type="xsd:string">neutral</processing>   </ns1:addSPF>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">myusername</login>
   <password xsi:type="xsd:string">mypassword</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>

 

Action: deleteSPF

Description: deletes SPF

Parameters:

AuthToken:at - authentication information
String:domainName - domain name

Response: empty

Example:

<soapenv:Body>
  <ns1:deleteSPF soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">borisfen.dom</domainName>   </ns1:deleteSPF>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">myusername</login>
   <password xsi:type="xsd:string">mypassword</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>

 

Action: addAntiVirusResources

Description: adds antiviruses for mail domain

Parameters:

AuthToken:at - authentication information
String:domainName - domain name
String:range - "mailbox" (for all mailboxes) OR "all" (for all mailresources)

Response: empty

Example:

<soapenv:Body>
  <ns1:addAntiVirusResources soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">borisfen.dom</domainName>    <range xsi:type="xsd:string">all</range>
  </ns1:addAntiVirusResources>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">myusername</login>
   <password xsi:type="xsd:string">mypassword</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>

 

Action: addAntiSpamResources

Description: adds antispams for mail domain

Parameters:

AuthToken:at - authentication information
String:domainName - domain name
String:range - "mailbox" (for all mailboxes) OR "all" (for all mailresources)

Response: empty

Example:

<soapenv:Body>
  <ns1:addAntiSpamResources soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">borisfen.dom</domainName>    <range xsi:type="xsd:string">all</range>
  </ns1:addAntiSpamResources>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">myusername</login>
   <password xsi:type="xsd:string">mypassword</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>

 

Action: deleteAntiSpamResourcess

Description: deletes antispams for mail domain

Parameters:

AuthToken:at - authentication information
String:domainName - domain name

Response: empty

Example:

<soapenv:Body>
  <ns1:deleteAntiSpamResources soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">borisfen.dom</domainName>   </ns1:deleteAntiSpamResources>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">myusername</login>
   <password xsi:type="xsd:string">mypassword</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>

 

Action: deleteAntiVirusResources

Description: deletes antiviruses for mail domain

Parameters:

AuthToken:at - authentication information
String:domainName - domain name

Response: empty

Example:

<soapenv:Body>
  <ns1:deleteAntiVirusResources soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <at href="#id0"/>
   <domainName xsi:type="xsd:string">borisfen.dom</domainName>   </ns1:deleteAntiVirusResources>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
   <accountId xsi:type="xsd:int">0</accountId>
   <login xsi:type="xsd:string">myusername</login>
   <password xsi:type="xsd:string">mypassword</password>
   <role xsi:type="ns2:Role" xsi:nil="true"/>
  </multiRef>
 </soapenv:Body>

 

Action: getAntiSpams

Description: gets all domain's antispams

Parameters:

AuthToken:at - authentication information
String: domain - domain name

Response: Array of 7 Strings -
local name,
full name,
whitelist (emails separated by ENTER),
blacklist (emails separated by ENTER),
spam check level,
spam processing,
max score value

Example:

<soapenv:Body>
   <ns1:getAntiSpams soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
    <at href="#id0"/>
    <domain xsi:type="xsd:string">borisfen.dom</domain>
   </ns1:getAntiSpams>
   <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
    <accountId xsi:type="xsd:int">0</accountId>
    <login xsi:type="xsd:string">myusername</login>
    <password xsi:type="xsd:string">mypasswd</password>
    ;<role xsi:type="ns2:Role" xsi:nil="true"/>
   </multiRef>
</soapenv:Body>
...
<soapenv:Body>
   <ns1:getAntiSpamsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
   <getAntiSpamsReturn xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[2]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[7]">
    <item>zzzz</item>
    <item>zzzz@borisfen.dom</item>
    <item>white1@test.com white2@test.net</item>
    <item>black1@xxx.com black2@xxx.com</item>
    <item>permissive</item>
    <item>mark</item>
    <item>very_aggressive</item>
   </item>
   <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[7]">
    <item>postmaster</item>
    <item>postmaster@borisfen.dom</item>
    <item>white1@test2.com white2@test2.com</item>
    <item>black1@xxx2.com black2@xxx2.com</item>
    <item>very_aggressive</item>
    <item>mark</item>
    <item>strict</item>
   </item>
  </getAntiSpamsReturn>
 </ns1:getAntiSpamsResponse>
</soapenv:Body>

 

Action: getAntiViruses

Description: gets all domain's antiviruses

Parameters:

AuthToken:at - authentication information
String: domain - domain name

Response: Array of 3 Strings -
local name,
full name,
virus processing

Example:

<soapenv:Body>
   <ns1:getAntiViruses soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
    <at href="#id0"/>
    <domain xsi:type="xsd:string">borisfen.dom</domain>
   </ns1:getAntiViruses>
   <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
    <accountId xsi:type="xsd:int">0</accountId>
    <login xsi:type="xsd:string">myusername</login>
    <password xsi:type="xsd:string">mypasswd</password>
    <role xsi:type="ns2:Role" xsi:nil="true"/>
   </multiRef>
</soapenv:Body>
...
<soapenv:Body>
   <ns1:getAntiVirusesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
    <getAntiVirusesReturn xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[2]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" soapenc="http://schemas.xmlsoap.org/soap/encoding/">
     <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[3]">
      <item>postmaster</item>
      <item>postmaster@borisfen.dom</item>
      <item>remove</item>
     </item>
     <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[3]">
      <item>webmaster</item>
      <item>webmaster@borisfen.dom</item>
      <item>mark</item>
     </item>
    </getAntiVirusesReturn>
   </ns1:getAntiVirusesResponse>
</soapenv:Body>

 

Action: getAutoResponders

Description: get all domain's autoresponders

Parameters:

AuthToken:at - authentication information
String: domain - domain name

Response: Array of 5 Strings -
local name,
full name,
subject,
message,
include incomming message (0/1) AND attachments - list with hashmaps (keys="name", "size")

Example:

<soapenv:Body>
   <ns1:getAutoResponders soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
    <at href="#id0"/>
    <domain xsi:type="xsd:string">borisfen.dom</domain>
   </ns1:getAutoResponders>
   <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
    <accountId xsi:type="xsd:int">0</accountId>
    <login xsi:type="xsd:string">myusername</login>
    <password xsi:type="xsd:string">mypasswd</password>
    <role xsi:type="ns2:Role" xsi:nil="true"/>
   </multiRef>
</soapenv:Body>
...
<soapenv:Body>
   <ns1:getAntiSpamsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
    <getAutoRespondersReturn xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[2]" xmlns:ns2="http://www.w3.org/2002/12/soap-encoding" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
     <item xsi:type="soapenc:Array" soapenc:arrayType="anyType[6]">
      <item xsi:type="xsd:string">webmaster</item>
      <item xsi:type="xsd:string">webmaster@borisfen.dom</item>
      <item xsi:type="xsd:string>SUBB</item>
      <item xsi:type="xsd:string>MESS</item>
      <item xsi:type="xsd:string>0</item>
      <item>very_aggressive</item>
     </item>
     <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[6]">
      <item xsi:type="xsd:string">postmaster</item>
      <item xsi:type="xsd:string">postmaster@borisfen.dom</item>
      <item xsi:type="xsd:string">kjh</item>
      <item xsi:type="xsd:string">hkhjk</item>
      <item xsi:type="xsd:string">0</item>
      <item>mark</item>
      <item href="#id1"/>
     </item>
    </getAutoRespondersReturn>
   </ns1:getAutoRespondersResponse>
   <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[0]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns3="http://www.w3.org/2002/12/soap-encoding"/>
   <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[1]" xmlns:ns4="http://www.w3.org/2002/12/soap-encoding">
    <item href="#id2"/>
   </multiRef>
   <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:Map" xmlns:ns5="http://xml.apache.org/xml-soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item>
     <key xsi:type="xsd:string>"size</key>
     <value xsi:type="xsd:string">468</value>
    </item>
    <item>
     <key xsi:type="xsd:string">name</key>
     <value xsi:type="xsd:string">pop3-smtp.pl</value>
    </item>
   </multiRef>
</soapenv:Body>

 

Action: enableMailService

Description: enables mail service

Parameters:

AuthToken:at - authentication information
String:domainName - domain mail service is enabled for

Response: empty

Example:

   <soapenv:Body>
       <ns1:enableMailService soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
          <at href="#id0"/>
          <domainName xsi:type="xsd:string">katonchik74.biz</domainName>
       </ns1:enableMailService>
       <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
          <password xsi:type="soapenc:string">katon</password>
          <role xsi:type="ns2:Role" xsi:nil="true"/>
          <accountId href="#id1"/>
          <login xsi:type="soapenc:string">katon-u</login>
       </multiRef>
       <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">0</multiRef>
    </soapenv:Body>

    <soapenv:Body>
       <ns1:enableMailServiceResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
    </soapenv:Body>

 

Action: disableMailService

Description: disables mail service

Parameters:

AuthToken:at - authentication information
String:domainName - domain mail service is disabled for

Response: empty

Example:

    <soapenv:Body>
       <ns1:disableMailService soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
          <at href="#id0"/>
          <domainName xsi:type="xsd:string">katonchik74.biz</domainName>
       </ns1:disableMailService>
       <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
          <password xsi:type="soapenc:string">katon</password>
          <role xsi:type="ns2:Role" xsi:nil="true"/>
          <accountId href="#id1"/>
          <login xsi:type="soapenc:string">katon-u</login>
       </multiRef>
       <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">0</multiRef>
    </soapenv:Body>

    <soapenv:Body>
       <ns1:disableMailServiceResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices"/>
    </soapenv:Body>

 

Action: getCatchAll

Description: retrieves "catch all" mailobject for maildomain

Parameters:

AuthToken:at - authentication information
String:domainName - domain for mailbox

Response: String - local name of mailobject with "catch all"

Example:

    <soapenv:Body>
       <ns1:getCatchAll soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
          <at href="#id0"/>
          <domain xsi:type="xsd:string">example1.com</domain>
       </ns1:getCatchAll>
       <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:MailServices">
          <login xsi:type="xsd:string">test99</login>
          <password xsi:type="xsd:string">test999</password>
          <accountId xsi:type="xsd:int">0</accountId>
          <role xsi:type="ns2:Role" xsi:nil="true"/>
       </multiRef>
    </soapenv:Body>
...
    <soapenv:Body>
       <ns1:getCatchAllResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
         <getCatchAllReturn xsi:type="xsd:string">mbox1</getCatchAllReturn>
       </ns1:getCatchAllResponse>
    </soapenv:Body>

Related Docs:   H-Sphere XML API Reference Javadoc XML API



© Copyright 2017. Parallels Holdings. All rights reserved.