public class EmailDeliveryHelper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
| Constructor and Description |
|---|
EmailDeliveryHelper() |
| Modifier and Type | Method and Description |
|---|---|
static com.ibm.commerce.command.CommandContext |
getCommandContext()
Returns the command context used by this email activity.
|
static void |
scheduleBounceJobForEmailActivity(java.lang.Integer emailPromotionId,
java.lang.Integer storeId,
java.lang.String host,
com.ibm.commerce.command.CommandContext commandContext,
java.sql.Timestamp when,
java.lang.String redirectUrl)
Schedules the CheckForBouncedEmail job to check bounced back e-mail.
|
static void |
scheduleRetryForEmailActivity(java.lang.Integer emailPromotionId,
java.lang.Integer storeId,
short retryCount,
java.lang.String host,
com.ibm.commerce.command.CommandContext commandContext,
java.sql.Timestamp when,
java.lang.String redirectUrl)
Schedules retry soft bounce e-mail for the e-mail activity
|
static void |
setCommandContext(com.ibm.commerce.command.CommandContext cc)
Sets the command context for this email activity
|
public static final java.lang.String COPYRIGHT
public static com.ibm.commerce.command.CommandContext getCommandContext()
public static void scheduleBounceJobForEmailActivity(java.lang.Integer emailPromotionId,
java.lang.Integer storeId,
java.lang.String host,
com.ibm.commerce.command.CommandContext commandContext,
java.sql.Timestamp when,
java.lang.String redirectUrl)
throws com.ibm.commerce.exception.ECException
emailPromotionId - The ID of e-mail activity.storeId - The ID of the store to which the e-mail activity belongs to.host - The host of the scheduler job.commandContext - The command context passed into the scheduler job.when - The scheduled time.redirectUrl - The redirect URL.com.ibm.commerce.exception.ECExceptionpublic static void scheduleRetryForEmailActivity(java.lang.Integer emailPromotionId,
java.lang.Integer storeId,
short retryCount,
java.lang.String host,
com.ibm.commerce.command.CommandContext commandContext,
java.sql.Timestamp when,
java.lang.String redirectUrl)
throws com.ibm.commerce.exception.ECException
emailPromotionId - the ID of the e-mail activitystoreId - the store entity ID to which the e-mail activity belongsretryCount - the number of retries counthost - the host name of the e-mail servercommandContext - the command contextwhen - the time that e-mail activity retry should be sentredirectUrl - the command used to resend the e-mail activitycom.ibm.commerce.exception.ECExceptionpublic static void setCommandContext(com.ibm.commerce.command.CommandContext cc)
cc - CommandContext