MailSession

Configurations for JavaMail support.

Inherits from type J2EEResourceFactory and adds the following.

Attributes Summary
mailTransportHost : StringThe server to which to connect when sending mail.
mailTransportUser : StringA userid required when the transport server requires authentication.
mailTransportPasswordFill in this field only if the transport server is authenticating.
mailFrom : StringThis field will appear to recipient as "From" or "ReplyTo" field.
mailStoreHost : StringMail account host (or "domain") name.
mailStoreUser : StringThe user ID of the mail account.
mailStorePasswordThe password of the mail account.
debug : booleanWhen checked, JavaMail's interaction with mail servers, along with this mail session's properties, will be printed to stdout.
strict : boolean@since 6.
mailTransportProtocol : ProtocolProvider@ Specifies the transport protocol to use when sending mail.
mailStoreProtocol : ProtocolProvider@ Specifies the protocol to be used when reading mail.

Attribute Details

mailTransportHost    -    The server to which to connect when sending mail.
     data type:  String
     default Value:   unspecified



mailTransportUser    -    A userid required when the transport server requires authentication.
     data type:  String
     default Value:   unspecified



mailTransportPassword    -    Fill in this field only if the transport server is authenticating.
     data type: 
     default Value:   unspecified



mailFrom    -    This field will appear to recipient as "From" or "ReplyTo" field.
     data type:  String
     default Value:   unspecified



mailStoreHost    -    Mail account host (or "domain") name.
     data type:  String
     default Value:   unspecified



mailStoreUser    -    The user ID of the mail account.
     data type:  String
     default Value:   unspecified



mailStorePassword    -    The password of the mail account.
     data type: 
     default Value:   unspecified



debug    -    When checked, JavaMail's interaction with mail servers, along with this mail session's properties, will be printed to stdout.
     data type: boolean
     default Value:   false
     Allowed Values:  true   false  



strict    -    @since 6.0.0Controls the strict flag passed to the parseHeader method. The default is true.
     data type: boolean
     default Value:   true
     Allowed Values:  true   false  



mailTransportProtocol    -    Specifies the transport protocol to use when sending mail.
     data type: ProtocolProvider@



mailStoreProtocol    -    Specifies the protocol to be used when reading mail.
     data type: ProtocolProvider@


Copyright IBM Corp. 1997-2004