createJunkEntryRequest

Provides access to the junk mail handling, block, and trust lists for a user.

Request

<createJunkEntryRequest>
   <entry/>
</createJunkEntryRequest>

Response

<createJunkEntryResponse>
   <id/>
   <status> 
      <code/> 
   </status> 
</createJunkEntryResponse>

Elements

entry

Specifies the new junk mail handling entry.

id

On a successful response, specifies the ID of the newly created junk mail entry.

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

<createJunkEntryRequest>
   <entry>
      <match>user2@block.net</match> 
      <matchType>email</matchType> 
      <listType>block</listType> 
      <lastUsed /> 
      <version>0</version> 
   </entry> 
</createJunkEntryRequest>

<createJunkEntryResponse> 
   <id>44FE8B4B.domain1.po1.104.16E3837.1.106.1@66</id> 
   <status> 
      <code>0</code> 
   </status> 
</createJunkEntryResponse>