pp108 : DeleteAllMails

DeleteAllMails


This Web service operation is used to delete all the mails from the mailbox. To use this API, you must set a valid profile. If not, an 'Authentication Failed' error is thrown.

SOAP Request

<DeleteAllMails xmlns="http://schemas.cordys.com/1.0/email">
    <folder>Inbox</folder>
</DeleteAllMails>

Request Parameters

Parameter

Description

folder

Specifies the folder in the mailbox from which the mails must be deleted.


SOAP Response

DeleteAllMails
 <data> 
<DeleteAllMailsResponse xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.cordys.com/1.0/email" /> 
</data>