Package org.nekosoft.pdffer.props
Class SmtpServerInfo
java.lang.Object
org.nekosoft.pdffer.props.SmtpServerInfo
A Property POJO part that represents SMTP server information.
-
Constructor Summary
ConstructorDescriptionSmtpServerInfo(String host, int port, String username, String password, Properties javaMailProperties)
Instantiates a new SMTP server info. -
Method Summary
-
Constructor Details
-
SmtpServerInfo
public SmtpServerInfo(String host, int port, String username, String password, Properties javaMailProperties)Instantiates a new SMTP server info.- Parameters:
host
- the hostport
- the portusername
- the usernamepassword
- the passwordjavaMailProperties
- any extra options as a Java Properties instance
-
-
Method Details
-
getHost
Gets the host.- Returns:
- the host
-
getPort
public int getPort()Gets the port.- Returns:
- the port
-
getUsername
Gets the username.- Returns:
- the username
-
getPassword
Gets the password.- Returns:
- the password
-
getJavaMailProperties
Gets extra options as a Java Properties instance.- Returns:
- extra options as a Java Properties instance
-