org.ofbiz.common.email
Class EmailServices
java.lang.Object
org.ofbiz.common.email.EmailServices
public class EmailServices
- extends java.lang.Object
Email Services
Method Summary |
static java.util.Map<java.lang.String,java.lang.Object> |
sendMail(DispatchContext ctx,
java.util.Map<java.lang.String,? extends java.lang.Object> context)
Basic JavaMail Service |
static java.util.Map<java.lang.String,java.lang.Object> |
sendMailFromScreen(DispatchContext dctx,
java.util.Map<java.lang.String,? extends java.lang.Object> rServiceContext)
JavaMail Service that gets body content from a Screen Widget
defined in the product store record and if available as attachment also. |
static java.util.Map<java.lang.String,java.lang.Object> |
sendMailFromUrl(DispatchContext ctx,
java.util.Map<java.lang.String,? extends java.lang.Object> rcontext)
JavaMail Service that gets body content from a URL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
htmlScreenRenderer
protected static final HtmlScreenRenderer htmlScreenRenderer
foScreenRenderer
protected static final FoScreenRenderer foScreenRenderer
EmailServices
public EmailServices()
sendMail
public static java.util.Map<java.lang.String,java.lang.Object> sendMail(DispatchContext ctx,
java.util.Map<java.lang.String,? extends java.lang.Object> context)
- Basic JavaMail Service
- Parameters:
ctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters
- Returns:
- Map with the result of the service, the output parameters
sendMailFromUrl
public static java.util.Map<java.lang.String,java.lang.Object> sendMailFromUrl(DispatchContext ctx,
java.util.Map<java.lang.String,? extends java.lang.Object> rcontext)
- JavaMail Service that gets body content from a URL
- Parameters:
ctx
- The DispatchContext that this service is operating inrcontext
- Map containing the input parameters
- Returns:
- Map with the result of the service, the output parameters
sendMailFromScreen
public static java.util.Map<java.lang.String,java.lang.Object> sendMailFromScreen(DispatchContext dctx,
java.util.Map<java.lang.String,? extends java.lang.Object> rServiceContext)
- JavaMail Service that gets body content from a Screen Widget
defined in the product store record and if available as attachment also.
- Parameters:
dctx
- The DispatchContext that this service is operating inrServiceContext
- Map containing the input parameters
- Returns:
- Map with the result of the service, the output parameters