*** This class provides Binary Compatibility only, not Source Compatibility ***
Package com.sas.services.publish.alerts
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 -
Method Summary
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
-