Click or drag to resize
BizFormMailSender Constructor
Initiates the mail sender service with required data.

Namespace: CMS.OnlineForms
Assembly: CMS.OnlineForms (in CMS.OnlineForms.dll) Version: 12.0.0
Syntax
C#
public BizFormMailSender(
	BizFormInfo formConfiguration,
	IDataContainer formData,
	FormInfo formDefinition = null,
	IEnumerable<string> uploads = null,
	bool encodeEmails = false
)

Parameters

formConfiguration
Type: CMS.OnlineFormsBizFormInfo
Configuration of the online form
formData
Type: CMS.BaseIDataContainer
Data collected from the form
formDefinition (Optional)
Type: CMS.FormEngineFormInfo
Form structure definition, may include changes from alternative form if alt.form is used; if empty, default definition from formConfiguration is used
uploads (Optional)
Type: System.Collections.GenericIEnumerableString
Names of file input fields where some files were recently uploaded
encodeEmails (Optional)
Type: SystemBoolean
Indicates if email content should be encoded; false by default
See Also