1.2 发送邮件接口.md 764 Bytes

发送短信接口


URL: http://api.cnlive.com/open/api2/email/send.action


请求方式: HTTP POST


返回格式: JSON


请求参数说明:

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

返回格式说明:

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

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

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