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 connect to when sending mail.
mailTransportUser : EString The user of the mail account when the outgoing mail server requires authentication.
mailTransportPassword : Password The password of the mail account when the outgoing mail server requires authentication.
mailFrom : EString This field will appear to recipient as "From" or "ReplyTo" field.
mailStoreHost : EString The server to connect to when receiving mail.
mailStoreUser : EString The user 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.
mailTransportPort : EInt @since 7.0.0 The port to connect to when sending mail.
mailStorePort : EInt @since 7.0.0 The port to connect to when receiving mail.
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 connect to 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  -  The user of the mail account when the outgoing mail 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  -  The password of the mail account when the outgoing mail server requires authentication.
    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  -  The server to connect to when receiving 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

mailStoreUser  -  The user 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

mailTransportPort  -  @since 7.0.0 The port to connect to when sending mail.
    Data Type: EInt
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

mailStorePort  -  @since 7.0.0 The port to connect to when receiving mail.
    Data Type: EInt
    Default value:  unspecified
    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