TagLib: Mail

deletemessage

Description

Deletes an email message from the current folder. If an error occurs during processing, the tag body will be evaluated and the remainder of the page will be skipped.

Tag Body

JSP

Restrictions


Attributes

The tag has the following attributes:
 

Attribute

Description

Req'd?

index Identifies message to delete. index specifies an entry within the current messages collection. Yes

Properties

n/a

Example(s)

<%-- deletemessage tag example --%>
...
<mail:context/>
...
<mail:deletemessage index="$(idx)">
<p>Fail.
</mail:deletemessage>
...