public class FreemarkerEmailFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FreemarkerEmailFactory.BadPropertyValueException |
static class |
FreemarkerEmailFactory.InvalidSmtpHost |
static class |
FreemarkerEmailFactory.NotConfiguredException |
static class |
FreemarkerEmailFactory.Setup
Tries to create a FreemarkerEmailFactory bean and store it in the servlet
context.
|
static class |
FreemarkerEmailFactory.SmtpHostTester
Checks to see whether the SMTP host will talk to us.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
REPLY_TO_PROPERTY |
static String |
SMTP_HOST_PROPERTY |
| Constructor and Description |
|---|
FreemarkerEmailFactory(javax.servlet.ServletContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
static FreemarkerEmailMessage |
createNewMessage(VitroRequest vreq) |
static javax.mail.Session |
getEmailSession(javax.servlet.http.HttpServletRequest req)
Client code that does not use the FreemarkerEmailFactory can still use
it's Email Session.
|
static boolean |
isConfigured(javax.servlet.http.HttpServletRequest req) |
public static final String SMTP_HOST_PROPERTY
public static final String REPLY_TO_PROPERTY
public FreemarkerEmailFactory(javax.servlet.ServletContext ctx)
public static FreemarkerEmailMessage createNewMessage(VitroRequest vreq)
public static javax.mail.Session getEmailSession(javax.servlet.http.HttpServletRequest req)
public static boolean isConfigured(javax.servlet.http.HttpServletRequest req)
Copyright © 2021. All rights reserved.