Page History

1013

Last edited by 李世林

发送多变量邮件接口


URL: http://10.254.139.101/CnliveM3/email/sendMoreVarEmail.action


请求方式: HTTP POST


返回格式: JSON


请求参数说明:

参数名 参数类型 必选 参数说明
appId string true 应用ID
emailAddr string true 收件人地址
title string true 邮件主题
content string true 模板内容
templateId string true 邮件模板ID(ID列表需确定,见后台管理)

返回格式说明:

{   
    "errorCode":"0",
    "errorMessage":"成功"
}

{   
    "errorCode":"101001",
    "errorMessage":"邮件发送失败"
}

{   
    "errorCode":"102002",
    "errorMessage":"邮件模板不存在"
}