MailSession

This type is a class for model objects.

Configurations for JavaMail support.

Package: mail
Supertype: J2EEResourceFactory

Classifier ID:  -1
Instance class name:  * Unspecified *
Instance class:  * Unspecified *



Attributes Summary
mailTransportHost : EString The server to which to connect when sending mail.
mailTransportUser : EString A userid required when the transport server requires authentication.
mailTransportPassword : Password Fill in this field only if the transport server is authenticating.
mailFrom : EString This field will appear to recipient as "From" or "ReplyTo" field.
mailStoreHost : EString Mail account host (or "domain") name.
mailStoreUser : EString The user ID of the mail account.
mailStorePassword : Password The password of the mail account.
debug : EBoolean When checked, JavaMail's interaction with mail servers, along with this mail session's properties, will be printed to stdout.
strict : EBoolean @since 6.0.0 Controls the strict flag passed to the parseHeader method. The default is true.
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: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

mailTransportUser  -  A userid required when the transport server requires authentication.
    Data Type: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

mailTransportPassword  -  Fill in this field only if the transport server is authenticating.
    Data Type: Password
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

mailFrom  -  This field will appear to recipient as "From" or "ReplyTo" field.
    Data Type: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

mailStoreHost  -  Mail account host (or "domain") name.
    Data Type: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

mailStoreUser  -  The user ID of the mail account.
    Data Type: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

mailStorePassword  -  The password of the mail account.
    Data Type: Password
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

debug  -  When checked, JavaMail's interaction with mail servers, along with this mail session's properties, will be printed to stdout.
    Data Type: EBoolean
    Default value:  false
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

strict  -  @since 6.0.0 Controls the strict flag passed to the parseHeader method. The default is true.
    Data Type: EBoolean
    Default value:  true
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

mailTransportProtocol  -  Specifies the transport protocol to use when sending mail.
    Reference Type: ProtocolProvider @
    Containment:  false
    Container:  false
    Required:  true
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  1
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

mailStoreProtocol  -  Specifies the protocol to be used when reading mail.
    Reference Type: ProtocolProvider @
    Containment:  false
    Container:  false
    Required:  true
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  1
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false



(C) COPYRIGHT International Business Machines Corp. 1996-2006