Class SMTPConnectionFactory
java.lang.Object
com.mirth.connect.server.userutil.SMTPConnectionFactory
Utility class used to create SMTPConnection object using the server's default SMTP settings.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SMTPConnectionCreates an create SMTPConnection object using the server's default SMTP settings.
-
Method Details
-
createSMTPConnection
public static SMTPConnection createSMTPConnection() throws com.mirth.connect.client.core.ControllerExceptionCreates 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.
-