Interface MailSession

All Superinterfaces:
Describable, JNDIEnvironmentRef

public interface MailSession extends JNDIEnvironmentRef, Describable
Represents <mail-session>.
  • Method Details

    • getStoreProtocol

      String getStoreProtocol()
      Returns:
      <store-protocol>, or null if unspecified
    • getStoreProtocolClassName

      String getStoreProtocolClassName()
      Returns:
      <store-protocol-class>, or null if unspecified
    • getTransportProtocol

      String getTransportProtocol()
      Returns:
      <transport-protocol>, or null if unspecified
    • getTransportProtocolClassName

      String getTransportProtocolClassName()
      Returns:
      <transport-protocol-class>, or null if unspecified
    • getHost

      String getHost()
      Returns:
      <host>, or null if unspecified
    • getUser

      String getUser()
      Returns:
      <user>, or null if unspecified
    • getPassword

      String getPassword()
      Returns:
      <password>, or null if unspecified
    • getFrom

      String getFrom()
      Returns:
      <from>, or null if unspecified
    • getProperties

      List<Property> getProperties()
      Returns:
      <property> as a read-only list