Class FreemarkerEmailFactory.SmtpHostTester
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.email.FreemarkerEmailFactory.SmtpHostTester
-
- Enclosing class:
- FreemarkerEmailFactory
public static class FreemarkerEmailFactory.SmtpHostTester extends Object
Checks to see whether the SMTP host will talk to us.
-
-
Constructor Summary
Constructors Constructor Description SmtpHostTester()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtest(String smtpHost, int emailPort)Try to open a connection to the SMTP host and conduct an "empty" conversation using SMTP.
-
-
-
Method Detail
-
test
public void test(String smtpHost, int emailPort) throws FreemarkerEmailFactory.InvalidSmtpHost
Try to open a connection to the SMTP host and conduct an "empty" conversation using SMTP.- Parameters:
emailPort-- Throws:
FreemarkerEmailFactory.InvalidSmtpHost- If anything goes wrong.
-
-