Jakarta Mailer Taglib 2.0
Tag 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.

Example:
See mt:mail
        


Tag Information
Tag Classorg.apache.taglibs.mailer2.PartTag
TagExtraInfo ClassNone
Body ContentJSP
Display Namemt:part

Attributes
NameRequiredRequest-timeTypeDescription
typenoyesjava.lang.StringThe content-type of the body of this part
encodingnoyesjava.lang.StringThe character set encoding of the body of this part, default unspecified

Variables
No Variables Defined.


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