|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EmailMgrIf
EmailMgrIf Interface which an implementation of this manager must adhere to.
| Method Summary | |
|---|---|
Emailer |
getEmailer()
Used to get a new Emailer object used to send the E mails |
boolean |
isEmailValid(java.lang.String emailAddr)
Determines whether the eMail address is valid |
void |
refreshConfigs()
Setup variables needed to send the mail |
void |
sendHTML(java.lang.String toAddressString,
java.lang.String theSubject,
java.lang.String theContentHTML,
boolean doBlindCopy,
boolean async)
Send a HTML-only email message to the specified recipient, with the specified subject and HTML content. |
void |
sendNewPasswordEmail(java.lang.String emailAddr,
java.lang.String newPassword,
java.lang.String mailSubject,
java.lang.String countryCode)
Deprecated. |
EmailIf |
sendNewPasswordEmail1(java.lang.String emailAddr,
java.lang.String newPassword,
Customer cust,
EmailOptionsIf options)
Sends a new password to user who has forgotten password. |
void |
sendOrderConfirmationEmail(java.lang.String sessionId,
int orderId,
java.lang.String mailSubject,
int languageId)
Deprecated. |
EmailIf |
sendOrderConfirmationEmail1(java.lang.String sessionId,
int orderId,
int langIdForOrder,
EmailOptionsIf options)
An order confirmation email is sent after submitting an order. |
void |
sendStockReorderEmail(java.lang.String emailAddr,
java.lang.String productName,
int productQuantity,
int productId,
java.lang.String sku)
Send an email to warn that a product stock level has fallen below a pre-defined level |
void |
sendTemplateEmailToCustomer(int customerId,
java.lang.String templateName,
java.lang.String message,
java.lang.String countryCode)
Deprecated. |
EmailIf |
sendTemplateEmailToCustomer1(int customerId,
java.lang.String message,
EmailOptionsIf options)
Used to send a template based email to a customer |
void |
sendText(java.lang.String toAddressString,
java.lang.String theSubject,
java.lang.String theContentText,
boolean doBlindCopy,
boolean async)
Send a text-only email message to the specified recipient, with the specified subject and text content. |
void |
sendWelcomeEmail(int customerId,
java.lang.String mailSubject,
java.lang.String countryCode)
Deprecated. |
EmailIf |
sendWelcomeEmail1(int customerId,
EmailOptionsIf options)
A welcome email is sent after registration |
| Method Detail |
|---|
void refreshConfigs()
throws java.lang.Exception
java.lang.Exception
void sendHTML(java.lang.String toAddressString,
java.lang.String theSubject,
java.lang.String theContentHTML,
boolean doBlindCopy,
boolean async)
throws KKException
toAddressString - TO: addresstheSubject - the subject linetheContentHTML - the HTML body of the emaildoBlindCopy - if true add the defined Blind Copy address, if false do not.async - set to true to send the mail asynchronously or false to send it synchronously
KKException
void sendText(java.lang.String toAddressString,
java.lang.String theSubject,
java.lang.String theContentText,
boolean doBlindCopy,
boolean async)
throws KKException
toAddressString - TO: addresstheSubject - the subject linetheContentText - the plan text body of the maildoBlindCopy - if true add the defined Blind Copy address, if false do not.async - set to true to send the mail asynchronously or false to send it synchronously
KKExceptionboolean isEmailValid(java.lang.String emailAddr)
emailAddr -
void sendNewPasswordEmail(java.lang.String emailAddr,
java.lang.String newPassword,
java.lang.String mailSubject,
java.lang.String countryCode)
throws java.lang.Exception
emailAddr - newPassword - mailSubject - countryCode -
java.lang.Exception
EmailIf sendNewPasswordEmail1(java.lang.String emailAddr,
java.lang.String newPassword,
Customer cust,
EmailOptionsIf options)
throws java.lang.Exception
emailAddr - newPassword - cust - options -
java.lang.Exception
void sendStockReorderEmail(java.lang.String emailAddr,
java.lang.String productName,
int productQuantity,
int productId,
java.lang.String sku)
throws java.lang.Exception
emailAddr - productName - productQuantity - productId - sku -
java.lang.Exception
void sendWelcomeEmail(int customerId,
java.lang.String mailSubject,
java.lang.String countryCode)
throws java.lang.Exception
customerId - mailSubject - countryCode -
java.lang.Exception
EmailIf sendWelcomeEmail1(int customerId,
EmailOptionsIf options)
throws java.lang.Exception
customerId - options -
java.lang.Exception
void sendOrderConfirmationEmail(java.lang.String sessionId,
int orderId,
java.lang.String mailSubject,
int languageId)
throws java.lang.Exception
sessionId - orderId - mailSubject - languageId -
java.lang.Exception
EmailIf sendOrderConfirmationEmail1(java.lang.String sessionId,
int orderId,
int langIdForOrder,
EmailOptionsIf options)
throws java.lang.Exception
sessionId - orderId - langIdForOrder - options -
java.lang.Exception
void sendTemplateEmailToCustomer(int customerId,
java.lang.String templateName,
java.lang.String message,
java.lang.String countryCode)
throws java.lang.Exception
customerId - templateName - message - countryCode -
java.lang.Exception
EmailIf sendTemplateEmailToCustomer1(int customerId,
java.lang.String message,
EmailOptionsIf options)
throws java.lang.Exception
customerId - message - options -
java.lang.Exception
Emailer getEmailer()
throws KKException
KKException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||