Sun Java System Portal Server Mobile Access 7.1 Tag Library Reference

sendmessage

Description

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.

Tag Body

JSP

Restrictions

None.

Attributes

The tag has the following attributes for which the Required values are “Yes” and “No”:

masgname

Name of Message bean relating to message to send.

fwdindex

Specifies index of message to forward.

replyindex

Specified index of message to reply to.

Properties

n/a

Example(s)
<%-- 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>
...