Class SMTPConnectionFactory

java.lang.Object
com.mirth.connect.server.userutil.SMTPConnectionFactory

public class SMTPConnectionFactory extends Object
Utility class used to create SMTPConnection object using the server's default SMTP settings.
  • Method Details

    • createSMTPConnection

      public static SMTPConnection createSMTPConnection() throws com.mirth.connect.client.core.ControllerException
      Creates an create SMTPConnection object using the server's default SMTP settings.
      Returns:
      The instantiated SMTPConnection object.
      Throws:
      com.mirth.connect.client.core.ControllerException - If the SMTP connection could not be created.