OrderInfoProviderSendEmailNotificationInternal Method |
Sends order notification to customer.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax protected virtual void SendEmailNotificationInternal(
ShoppingCartInfo cartObj,
string templateName,
string defaultTemplate,
string defaultSubject,
bool toCustomer,
string eventSource
)
Parameters
- cartObj
- Type: CMS.EcommerceShoppingCartInfo
Shopping cart info object - templateName
- Type: SystemString
Name of the e-mail template which should be used for creating an e-mail - defaultTemplate
- Type: SystemString
Name of the e-mail template which is used if primary template is not specified - defaultSubject
- Type: SystemString
E-mail default subject. It is used if template subject is not specified - toCustomer
- Type: SystemBoolean
True - it is a notification to customer. False - it is a notification to administrator - eventSource
- Type: SystemString
Source of the event which is logged when sending fails
See Also