public class SMTPConnectionFactory extends Object
Modifier and Type | Method and Description |
---|---|
static SMTPConnection |
createSMTPConnection()
Creates an create SMTPConnection object using the server's default SMTP settings.
|
public static SMTPConnection createSMTPConnection() throws com.mirth.connect.client.core.ControllerException
com.mirth.connect.client.core.ControllerException
- If the SMTP connection could not be created.