org.wildfly.swarm.mail

## Class EnhancedMailSession

- java.lang.Object
- - org.wildfly.swarm.config.mail.MailSession<EnhancedMailSession>
  - - org.wildfly.swarm.mail.EnhancedMailSession

-     public class EnhancedMailSession
      extends MailSession<EnhancedMailSession>

  Author:
    Bob McWhirter

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.wildfly.swarm.config.mail.MailSession

      `MailSession.MailSessionResources`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EnhancedMailSession(String key)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `EnhancedMailSession` | `smtpServer()` Mail session server
    `EnhancedMailSession` | `smtpServer(EnhancedSMTPServerConsumer consumer)`

    - ### Methods inherited from class org.wildfly.swarm.config.mail.MailSession

      `addPropertyChangeListener, custom, custom, custom, custom, customs, debug, debug, from, from, getKey, imapServer, imapServer, imapServer, imapServer, jndiName, jndiName, pop3Server, pop3Server, pop3Server, pop3Server, removePropertyChangeListener, smtpServer, smtpServer, smtpServer, subresources`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EnhancedMailSession

          public EnhancedMailSession(String key)

  - ### Method Detail

    - #### smtpServer

          public EnhancedMailSession smtpServer()

      Description copied from class: `MailSession`
      Mail session server
      Overrides:
        `smtpServer` in class `MailSession<EnhancedMailSession>`

    - #### smtpServer

          public EnhancedMailSession smtpServer(EnhancedSMTPServerConsumer consumer)

Copyright © 2018 JBoss by Red Hat. All rights reserved.