Jakarta Mailer Taglib 2.0


Standard Syntax:
     <%@ taglib prefix="mt" uri="http://jakarta.apache.org/taglibs/mailer-2.0" %>

XML Syntax:
     <anyxmlelement xmlns:mt="http://jakarta.apache.org/taglibs/mailer-2.0" />

Jakarta Mailer Taglib 2.0

Tag Library Information
Display NameJakarta Mailer Taglib 2.0
Version1.1
Short Namemt
URIhttp://jakarta.apache.org/taglibs/mailer-2.0
 

Tag Summary
mail JSP tag <b>mt:mail</b> is used to construct an e-mail message. It is the root element of this tag library. <p/> mt:mail can have the following child tags: mt:addrecipient, mt:attach, mt:header, mt:part. <p/> The message will be sent unless the var attribute has been set.
header JSP tag <b>mt:header</b> is used to set additional headers in an e-mail message. <p/> It is a child of mt:mail or mt:part.
addrecipient JSP tag <b>mt:addrecipient</b> is used to add recipients to an e-mail message. <p/> It is a child of mt:mail.
attach JSP tag <b>mt:attach</b> is used to add attachments. <p/> It is a child of mt:mail or mt:part. <p/> Either the url, or the file, or the message or both name and type attributes should be present. If the url attribute is present, the name and type are derived from the HTTP response. If the filename attribute is present, the name and type are also automatically derived. If the message attribute is present, the type is "message/rc822" and the name is the subject of the attached message. If both name and type are present, the body content of the tag is added as an attachment.
part JSP tag <b>mt:part</b> is used to create a multipart mail. It is used for multipart/alternative HTML and plain text mail alternatives or multipart/digest messages that contain several messages. <p/> It is a child of mt:mail. It can have mt:header and mt:attach tags as children. <p/> Multiple mt:parts can be added to a mt:mail tag. The type attribute of mt:mail should then be one of the multipart/* variants, e.g. multipart/mixed, multipart/related or multipart/alternative. The attachments inside mt:part and its optional body content are assumed to be multipart/related. This enables the creation of HTML formatted e-mail. References to images should be be made using cid: URLs.
send JSP tag <b>mt:send</b> is used to send a previously stored message. <p/> mt:send does not have any child tags.
replyto JSP tag <b>mt:replyto</b> is used to add reply-to addresses to an e-mail message. <p/> It is a child of mt:mail.
sign JSP tag <b>mt:sign</b> is used to S/MIME sign a previously stored message. <p/> mt:sign does not have any child tags.
encrypt JSP tag <b>mt:encrypt</b> is used to S/MIME encrypt a previously stored message. <p/> mt:encrypt does not have any child tags.
save JSP tag <b>mt:save</b> is used to save a previously stored message to the file system. <p/> mt:save does not have any child tags.
load JSP tag <b>mt:load</b> is used to load a message from the file system. <p/> mt:load does not have any child tags.
 

Tag Library Validator
org.apache.taglibs.mailer2.ValidatorNo Description
 


Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-3 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.