Sends an email message. If an error occurs during processing, the tag body will be evaluated and the remainder of the page will be skipped.
JSP
None.
The tag has the following attributes for which the Required values are “Yes” and “No”:
Name of Message bean relating to message to send.
Specifies index of message to forward.
Specified index of message to reply to.
n/a
<%-- sendmessage tag example --%> ... <mail:context/> ... <mail:message id="foo"> <mail:set property="to" value="$(to)"/> <mail:set property="subject" value="$(subject)"/> <mail:set property="text" value="$(text)"/> </mail:message> ... <mail:sendmessage msgname="foo"> <p>Fail. </mail:sendmessage> ...