OkayAPI Docs
API Params
Parameter | Type | Required | Default | Note | Description |
---|---|---|---|---|---|
HTTP_APPKEY | String | Required | MIN: 32 | Common Put Your APPKEY | |
email_sender | String | Required | 发件人 | ||
email_address | ArraySeperated with ; | Required | 收件人邮件地址,多个用英文分号隔开 | ||
email_title | String | Required | 邮件标题 | ||
email_content | String | Required | 邮件内容,使用UTF8编码、HTML格式 |
API Debug
KEY | REQUIRED | VALUE |
---|---|---|
app_key | *Required | |
email_sender | *Required | |
email_address | *Required | |
email_title | *Required | |
email_content | *Required |
API Response
KEY | Type | Description |
---|---|---|
err_code | Int | 操作码,0表示发送成功,1表示发送失败,失败原因可查看小白开放平台的日志 |
err_msg | String | 错误提示信息,err_code非0时参考此提示信息 |
HTTP Response Code
HTTP Status Code | Description |
---|---|
Http Status = 200 | Success |
Http Status = 400 | Illegal-Params |
Http Status = 401 | Illegal-Token |
Http Status = 402 | IP-Banned |
Http Status = 404 | API-NOT-Exsits |
Http Status = 406 | Illegal-APPKEY |
Http Status = 407 | APPKEY-Expired-Out |
Http Status = 408 | APPKEY-Busy |
Http Status = 409 | Illegal-Sign |
Http Status = 413 | API-Traffic-NOT-Enough |
Http Status = 415 | API-LOCKED |
Http Status = 500 | Internal-Server-Error |