EmailSend
Interface Function
Send email
Request Parameter
Parameter | Type | Remarks |
---|---|---|
EntityCode | string | Form that the parameter of email template belongs to, Form alias, the identity of the form |
EmailTempCode | string | Code of email template |
MailTo | string | Recipient email address, use commas to separate multiple mailboxes |
MailCC | string | CC email address |
MailBCC | string | BCC email address |
DataId | string | Document that the parameter of email template belongs to |
MappingData | Dictionary<string, string> |
Replacement value of the parameter of email template |
AttachmentFieldName | string | The corresponding control Field name of the attachment in the Form, supported field types: File Upload, File Upload(Advanced) |
Return Data Type
boolean
, true means success, false means failure
Input Sample
{
"EntityCode": "DemoFormAlias",
"EmailTempCode": "3c2c10af-d2df-49e5-be7a-c085821c9f78",
"MailTo": "demo@digitalmaker.com",
"MailCC": "",
"MailBCC": "",
"DataId": "4ab4be9d624c48f6b1ade86bfe0a655e",
"MappingData": {
},
"AttachmentFieldName": "DemoAttachmentFieldName"
}
Return Sample
{
"StatusCode": 200,
"Info": "Request (or process) succeeded",
"Data": true
}