SendEmail
Interface Function
Send email
Request Parameter
| Parameter | Required | Type | Remarks | 
|---|---|---|---|
| emailTempCode | true | string | Email template Code | 
| mailTo | true | string | Recipient email address | 
| ccTo | true | string | Cc email address | 
| mappingData | false | Dictionary<string, string> | 
Parameter replacement value for email template | 
| formAlias | false | string | Can be empty, but it is required if the c4-documentlink parameter is used, otherwise the parameter replacement will be wrong. | 
| dataId | false | string | Can be empty, but it is required if the c4-documentlink parameter is used, otherwise the parameter replacement will be wrong. | 
| mailBCC | false | string | BCC email address | 
| attachmentFieldName | false | string | The corresponding control Field name of the attachment in the Form, supported field types: File Upload, File Upload(Advanced) | 
Return Data Type
bool
Call Sample
var mappingData = new Dictionary<string, string>()
{
    {"Name","DemoText"}
};
Service.SendEmail("1d4b8978-6115-4243-830e-5d912d0b2f41","demo@digitalmaker.com","",mappingData,"","","","DemoAttachmentFieldName");