com.jscape.inet.smtp

## Class SmtpConnectedEvent

- java.lang.Object
- - java.util.EventObject
  - - com.jscape.inet.smtp.SmtpConnectedEvent

- All Implemented Interfaces:
    java.io.Serializable

      public class SmtpConnectedEvent
      extends java.util.EventObject

  Fired when connection to SMTP server is established.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SmtpConnectedEvent(java.lang.Object source, java.lang.String hostname)` Creates SmtpConnectedEvent.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getHostname()` Gets SMTP server hostname.

    - ### Methods inherited from class java.util.EventObject

      `getSource, toString`

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

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

- - ### Constructor Detail

    - #### SmtpConnectedEvent

          public SmtpConnectedEvent(java.lang.Object source,
                                    java.lang.String hostname)

      Creates SmtpConnectedEvent.
      Parameters:
        `source` - the source of the event
        `hostname` - the hostname of the SMTP server

  - ### Method Detail

    - #### getHostname

          public java.lang.String getHostname()

      Gets SMTP server hostname.
      Returns:
        hostname

Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved