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

Example:
<mt:mail var="message" subject="Test mail" from="john.doe@example.com"
    to="jane.doe@example.com" server="smtp.example.com">
    Hi Jane, here's my first mail
</mt:mail>
</mt:sign message="${message}" var="signedMessage" .../>
<mt:save message="${signedMessage}" file="signed.message"/>
        


Tag Information
Tag Classorg.apache.taglibs.mailer2.SaveTag
TagExtraInfo ClassNone
Body Contentempty
Display Namemt:save

Attributes
NameRequiredRequest-timeTypeDescription
messageyesyesjavax.mail.internet.MimeMessageThe message to save
fileyesyesjava.lang.StringThe location to save the message

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.