Class DefaultAutoresponderAutomationEmailProvider
- Namespace
- CMS.OnlineForms
- Assembly
- CMS.OnlineForms.dll
Class providing default email to be sent when a user fills some form.
public class DefaultAutoresponderAutomationEmailProvider : IFormSubmitAutomationEmailProvider
- Inheritance
-
objectDefaultAutoresponderAutomationEmailProvider
- Implements
- Extension Methods
Constructors
DefaultAutoresponderAutomationEmailProvider()
Initializes an instance of the DefaultAutoresponderAutomationEmailProvider class.
public DefaultAutoresponderAutomationEmailProvider()
DefaultAutoresponderAutomationEmailProvider(ILocalizationService)
Initializes an instance of the DefaultAutoresponderAutomationEmailProvider class.
public DefaultAutoresponderAutomationEmailProvider(ILocalizationService localizationService)
Parameters
localizationService
ILocalizationServiceLocalization service.
Methods
GetEmail(BizFormInfo, BizFormItem, ContactInfo)
Prepares a customized email to be sent.
public Task<AutomationEmail> GetEmail(BizFormInfo bizFormInfo, BizFormItem bizFormData, ContactInfo contactInfo)
Parameters
bizFormInfo
BizFormInfoBizFormInfo delivered by the automation form submit trigger.
bizFormData
BizFormItemBizFormItem delivered by the automation form submit trigger.
contactInfo
ContactInfoThe contact who submitted the form.
Returns
- Task<AutomationEmail>
Email.