Class SmtpServerInfo
java.lang.Object
org.nekosoft.pdffer.props.SmtpServerInfo
A Property POJO part that represents SMTP server information.
-
Constructor Summary
ConstructorsConstructorDescriptionSmtpServerInfo(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
-
getPort
@Min(1L) @Max(65535L) public @Min(1L) @Max(65535L) int getPort()Gets the port.- Returns:
- the port
-
getUsername
-
getPassword
-
getJavaMailProperties
Gets extra options as a Java Properties instance.- Returns:
- extra options as a Java Properties instance
-