EmailSend
接口功能

发送邮件

请求参数
参数 类型 说明
EntityCode string 邮件模板中参数所属的 From, Form别名, Form的标识
EmailTempCode string 邮件模板Code, template code是一个guid的string, 从Email template界面可以取到
MailTo string 接收人邮箱号, 多个邮箱时使用逗号分隔
MailCC string 抄送人邮箱号
MailBCC string 密送人邮箱号
DataId string 邮件模板中参数所属的 Document
MappingData Dictionary<string, string> 邮件模板中参数的替换值
AttachmentFieldName string 附件在Form中对应的控件Field name, 支持的Field类型: File Upload, File Upload(Advanced)
返回数据类型(Data部分)

boolean, true代表成功, false失败

输入示例
{
    "EntityCode": "DemoFormAlias",
    "EmailTempCode": "3c2c10af-d2df-49e5-be7a-c085821c9f78",
    "MailTo": "demo@digitalmaker.com",
    "MailCC": "",
    "MailBCC": "",
    "DataId": "4ab4be9d624c48f6b1ade86bfe0a655e",
    "MappingData": {
    },
    "AttachmentFieldName": "DemoAttachmentFieldName"
}
返回示例
{
    "StatusCode": 200,
    "Info": "Request (or process) succeeded",
    "Data": true
}
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2023-02-02 10:40:12

results matching ""

    No results matching ""