com.mirth.connect.server.userutil
Class SMTPConnectionFactory

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

public class SMTPConnectionFactory
extends java.lang.Object

Utility class used to create SMTPConnection object using the server's default SMTP settings.


Method Summary
static SMTPConnection createSMTPConnection()
          Creates an create SMTPConnection object using the server's default SMTP settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createSMTPConnection

public static SMTPConnection createSMTPConnection()
                                           throws com.mirth.connect.server.controllers.ControllerException
Creates an create SMTPConnection object using the server's default SMTP settings.

Returns:
The instantiated SMTPConnection object.
Throws:
com.mirth.connect.server.controllers.ControllerException