com.sas.services.publish.alerts
Class SMTPServerInfo
java.lang.Object
|
+--com.sas.services.publish.alerts.SMTPServerInfo
- public class SMTPServerInfo
- extends Object
Represents all the information needed to connect to a SMTP mail server.
- Since:
- 1.1.4
|
Method Summary |
String |
getHost()
Return the host for the SMTP server. |
String |
getPassword()
Return the password to use when binding to the SMTP server. |
int |
getPort()
Return the port for the SMTP server. |
String |
getUser()
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 |
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
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
Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:29:02