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 Class | org.apache.taglibs.mailer2.SaveTag |
| TagExtraInfo Class | None |
| Body Content | empty |
| Display Name | mt:save |
| Attributes |
| Name | Required | Request-time | Type | Description |
| message | yes | yes | javax.mail.internet.MimeMessage | The message to save |
| file | yes | yes | java.lang.String | The 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.