OkayAPI Docs


API Path: /api/App/Market_Email/Send

API Description: 发送邮件到指定的邮箱,需要先在小白开放平台配置邮箱服务,发送后将会纪录本次发送的详细信息。使用前请先安装带纪录的邮件发送插件

1
API Traffic
HTTP/HTTPS
Protocol
GET/POST
Method
UTF-8
Charset
JSON
Response

API Debug   


API Params

ParameterTypeRequiredDefaultNoteDescription
HTTP_APPKEYStringRequiredMIN: 32Common Put Your APPKEY
email_senderStringRequired发件人
email_addressArraySeperated with ;Required收件人邮件地址,多个用英文分号隔开
email_titleStringRequired邮件标题
email_contentStringRequired邮件内容,使用UTF8编码、HTML格式

API Debug

KEYREQUIREDVALUE
app_key *Required
email_sender *Required
email_address *Required
email_title *Required
email_content *Required

API Response

KEYTypeDescription
err_codeInt操作码,0表示发送成功,1表示发送失败,失败原因可查看小白开放平台的日志
err_msgString错误提示信息,err_code非0时参考此提示信息

HTTP Response Code

HTTP Status CodeDescription
Http Status = 200Success
Http Status = 400Illegal-Params
Http Status = 401Illegal-Token
Http Status = 402IP-Banned
Http Status = 404API-NOT-Exsits
Http Status = 406Illegal-APPKEY
Http Status = 407APPKEY-Expired-Out
Http Status = 408APPKEY-Busy
Http Status = 409Illegal-Sign
Http Status = 413API-Traffic-NOT-Enough
Http Status = 415API-LOCKED
Http Status = 500Internal-Server-Error