*** This class provides Binary Compatibility only, not Source Compatibility ***

Class SMTPServerInfo

java.lang.Object
com.sas.services.publish.alerts.SMTPServerInfo

@SASScope("ALL") @BinaryCompatibilityOnly public class SMTPServerInfo extends Object
Represents all the information needed to connect to a SMTP mail server.

Since:
1.1.4
  • Constructor Summary

    Constructors
    Constructor
    Description
    SMTPServerInfo(String host, int port, String user, String password)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    String
    Return the host for the SMTP server.
    String
    Return the password to use when binding to the SMTP server.
    int
    Return the port for the SMTP server.
    String
    Return the user name to use when binding to the SMTP server.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SMTPServerInfo

      public SMTPServerInfo(String host, int port, String user, String password)
      Parameters:
      host - the SMTP server.
      port - the port of the SMTP server.
      user - the user name to use when binding to the SMTP server.
      password - the password to use when binding to the SMTP server
  • Method Details

    • getHost

      public String getHost()
      Return the host for the SMTP server.
      Returns:
      the SMTP host
    • getPort

      public int getPort()
      Return the port for the SMTP server.
      Returns:
      the port of the SMTP server
    • getUser

      public String getUser()
      Return the user name to use when binding to the SMTP server.
      Returns:
      the user name
    • getPassword

      public String getPassword()
      Return the password to use when binding to the SMTP server.
      Returns:
      the password