Delete Mail

Delete Mail enables you to delete an e-mail. Only a single e-mail can be deleted at a time.

 

NOTE:  

Ensure that a valid ID of the mail is passed while using Delete Mail feature. The ID can be extracted using Search Mail feature & JSON Activity. If the provided ID of the mail is not found, then the test run may fail.

 

Using DeleteMail

  1. From the Feature dropdown list, select Delete Mail.

  1. Click the  (Setting) icon to configure the input configuration. The Input Configuration screen appears.

  2. Define all the input parameters as In arguments and output parameters as Out arguments in the Argument bar to make it available for the selection.
    • Mandatory options:
      • From the Id dropdown list, select the parameter holding the ID(unique Identifier) of the email for deleting the e-mail.
  3. You can select the Is Default Value checkbox to set the selected input parameter as the default value.
  4. Once done, click Confirm.

    The Delete Mail feature is configured.
    Following is the sample output:

    {"Response":"Deleted mail Successfully"}