Class SmtpServerInfo

java.lang.Object
org.nekosoft.pdffer.props.SmtpServerInfo

public class SmtpServerInfo extends Object
A Property POJO part that represents SMTP server information.
  • Constructor Details

    • SmtpServerInfo

      public SmtpServerInfo(String host, int port, String username, String password, Properties javaMailProperties)
      Instantiates a new SMTP server info.
      Parameters:
      host - the host
      port - the port
      username - the username
      password - the password
      javaMailProperties - any extra options as a Java Properties instance
  • Method Details

    • getHost

      public String getHost()
      Gets the host.
      Returns:
      the host
    • getPort

      public int getPort()
      Gets the port.
      Returns:
      the port
    • getUsername

      public String getUsername()
      Gets the username.
      Returns:
      the username
    • getPassword

      public String getPassword()
      Gets the password.
      Returns:
      the password
    • getJavaMailProperties

      public Properties getJavaMailProperties()
      Gets extra options as a Java Properties instance.
      Returns:
      extra options as a Java Properties instance