getJunkEntriesRequest

Returns the junk, block, and trust list entries for a user.

Request

<getJunkEntriesRequest>
   <container>
</getJunkEntriesRequest>

Response

<getJunkEntriesResponse>
   <junk>
   <block>
   <trust>
   <status>
</getJunkEntriesResponse>

Elements

container

Specifies the junk, block, or trust list to retrieve. If the container is null, the junk, block, and trust lists are returned.

junk

Specifies items to move to the junk folder if the sender’s email address or domain matches any of the returned entries.

block

Specifies items not to deliver if the sender’s email address or domain matches any of the returned entries.

trust

Specifies items to deliver if the sender’s email address or domain matches any of the returned entries.

code

Returns the error number related to the event. 0 indicates that the request was successful.

status

Returns the success or failure of the method.

Example

<getJunkEntriesRequest/>

<getJunkEntriesResponse> 
   <junk> 
      <entry> 
         <id>44FDACF0.domain1.po1.104.16E3837.1.103.1@66</id> 
         <match>user@junk.com</match> 
         <matchType>email</matchType> 
         <listType>junk</listType> 
         <lastUsed>2012-09-05T22:59:28Z</lastUsed> 
         <version>1</version> 
         <modified>2012-09-05T22:59:28Z</modified> 
      </entry> 
   </junk> 
   <block> 
      <entry> 
         <id>44FDACF0.domain1.po1.104.16E3837.1.104.1@66</id> 
         <match>user@block.com</match> 
         <matchType>email</matchType> 
         <listType>block</listType> 
         <lastUsed>2012-09-05T22:59:28Z</lastUsed> 
         <version>1</version> 
         <modified>2012-09-05T22:59:28Z</modified> 
      </entry> 
   </block> 
   <trust> 
      <entry> 
         <id>44FDACF0.domain1.po1.104.16E3837.1.105.1@66</id> 
         <match>user@trust.com</match> 
         <matchType>email</matchType> 
         <listType>trust</listType> 
         <lastUsed>2012-09-05T22:59:28Z</lastUsed> 
         <version>1</version> 
         <modified>2012-09-05T22:59:28Z</modified> 
      </entry> 
   </trust> 
   <status> 
      <code>0</code> 
   </status> 
</getJunkEntriesResponse>