util:parameter

Defines a parameter to be passed on to the "sendMail" tag. 'name' defines the name of the parameter, and 'value' defines the string-value of the parameter. Valid names are mailTo, mailCc, mailBcc, mailFrom, mailerName, subject, url, plainContent, htmlContent, charset and attachments. Minimum requirements to send a mail are mailTo, MailFrom and content. The charset parameter will override the default charset defined in the /neo/util/PostCardSender component.

See also

util:sendMail

Syntax
<util:parameter
   key="..."
   name="..."?
   property="..."?
   scope="..."?
   value="..."?>
   ...
</util:parameter>
Attributes
key, mandatory

The name of the parameter that is to be passed onto the "sendMail" tag. The allowed parameters are: mailTo, mailCc, mailBcc, mailFrom, mailerName, subject, url, plainContent, htmlContent and attachments.

name

The name of the attribute to use as the value of this parameter. If not scope is specified we will look for the specified object in all scopes. This attribute can not be used together with the "value" attribute.

property

Property to get from the specified bean with the name attribute. This attribute can not be used without the name attribute.

scope

The scope in which to search for when using the "name" parameter. This optional parameter defaults to a value which means that all scopes will be searched. The scope attribute may be set to "page", "request", "session", "application", or nothing.

value

The value of the parameter to be passed to the parameter. This attribute can not be used together with the "name" and "property" attributes.