Serialized Form


Package org.apache.taglibs.mailer2

Class org.apache.taglibs.mailer2.AddRecipientTag extends ReplyToTag implements Serializable

Serialized Fields

type

String type
The type of address to add either "to", "cc", or "bcc".

Class org.apache.taglibs.mailer2.AttachTag extends BodyTagSupport implements Serializable

Serialized Fields

log

Logger log
Used for logging.


type

String type
MIME type of the attachment.


url

String url
The url to load as an attachment.


filename

String filename
The filename of the attachment.


name

String name
The name of the attachment.


encoding

String encoding
The character set if the body of the tag is the attachment.


message

MimeMessage message
The entire message to add as an attachment.


body

String body
The body content of the attachment, if no filename or url attribute are specified.

Class org.apache.taglibs.mailer2.EncryptTag extends SignTag implements Serializable

Class org.apache.taglibs.mailer2.HeaderTag extends BodyTagSupport implements Serializable

Serialized Fields

log

Logger log
Used for logging.


name

String name
Name of header to set.


value

String value
Value of header to set.


body

String body
Body content of tag if no value is present.

Class org.apache.taglibs.mailer2.LoadTag extends MailTag implements Serializable

Serialized Fields

file

String file
The location to load the message from.

Class org.apache.taglibs.mailer2.MailTag extends PartTag implements Serializable

Serialized Fields

username

String username
Username to login to SMTP server.


to

String to
The address to whom the message will be sent.


from

String from
The address of the sender of this message.


cc

String cc
The comma separated list of carbon copy recipients.


bcc

String bcc
The comma separated list of blind carbon copy recipients.


subject

String subject
The subject of the message.


replyto

String replyto
The reply-to address.


toRecipients

ArrayList toRecipients
List of recipients added by child <mt:addrecipient type="to"/> tags.


ccRecipients

ArrayList ccRecipients
List of recipients added by child <mt:addrecipient type="cc"/> tags.


bccRecipients

ArrayList bccRecipients
List of recipients added by child <mt:addrecipient type="bcc"/> tags.


replytoRecipients

ArrayList replytoRecipients
List of reply-to recipients added by child <mt:replyto> tags


server

String server
The name of the SMTP server.


port

int port
The port number on the SMTP server to connect to.


session

String session
JNDI name for javax.mail.Session object.


mimemessage

String mimemessage
JNDI named javax.mail.internet.MimePartDataSource object.


password

String password
Plain text password to authenticate to SMTP server.


background

boolean background
Whether a background thread is used to send the mail, default true.


importance

String importance
Importance of the message: "low", "normal", or "high".


var

String var
Name of variable to store message in.


scope

String scope
Scope to store message in if var is set, default "page".

Class org.apache.taglibs.mailer2.PartTag extends BodyTagSupport implements Serializable

Serialized Fields

log

Logger log
Used for logging.


body

String body
The body of the part.


type

String type
The type of the body, default "text/plain".


encoding

String encoding
Character set of the body (default is unspecified).


parts

ArrayList parts
List of attachments stored as MimeBodyParts.


headers

HashMap headers
List of additional headers to add.

Class org.apache.taglibs.mailer2.ReplyToTag extends BodyTagSupport implements Serializable

Serialized Fields

log

Logger log
Used for logging.


address

String address
The address of the recipient.


name

String name
The name of the recipient.


body

String body
The body content of recipient.


tagName

String tagName
The name of the tag.

Class org.apache.taglibs.mailer2.SaveTag extends TagSupport implements Serializable

Serialized Fields

log

Logger log
Used for logging.


message

MimeMessage message
The message to save.


file

String file
The location to save the message.

Class org.apache.taglibs.mailer2.SendTag extends TagSupport implements Serializable

Serialized Fields

log

Logger log
Used for logging.


message

MimeMessage message
The message to send.


background

boolean background
Whether a background thread is used to send the mail, default true.

Class org.apache.taglibs.mailer2.SignTag extends MailTag implements Serializable

Serialized Fields

message

MimeMessage message
The message to send.


keystore

String keystore
The location of the keystore file.


storetype

String storetype
The type of keystore, e.g. "PKCS12" (default), "JKS", etc.


alias

String alias
The alias of the private key to retrieve from the keystore.


storepass

String storepass
The password to open the keystore.



Copyright © 2004 Apache Software Foundation, http://jakarta.apache.org/taglibs