- Contents
Interaction Designer Help
Delete Message By Cookie
This Email tool deletes a message by means of a cookie. If the email platform supports the concept of a "trash" folder and the tool has not been told to expunge the message, the message will be moved to the "trash" folder. If the email platform does not support the concept of a "trash" folder or the tool has been told to expunge the message, then the message will be deleted.
Inputs
Cookie
The file name of the cookie.
Expunge
Set this to True if you want this tool to permanently delete the message. If set to False, the tool simply moves the message from the given folder to the current mailbox’s "Trash" folder.
Asynchronous
If set to True, the tool will exit will not wait for the message to be deleted before exiting. Set this to False if you want the tool to wait until the message has been deleted before exiting.
Timeout
The number of seconds the tool should wait for a return value. If no value is returned in the specified time, this tool will take the Failure exit path.
Outputs
Result
The results of the operation.
See Email Tool Result Codes for more information.
Exit Paths
Success
This step takes the Success exit path if the message was deleted successfully.
Failure
This step takes the Failure exit path if the operation fails.