欢迎使用 api/email_service 接口,以下为功能说明:
主要功能
✅ 发送邮件
POST /api/email_service/send
参数:to
,subject
,content
,attachment
示例:curl -X POST "https://example.com/api/email_service/send" \ -H "Content-Type: application/json" \ -d '{"to": "user@example.com", "subject": "测试", "content": "这是邮件内容"}'
📋 获取邮件列表
GET /api/email_service/list
参数:page
,limit
,status
(draft
/sent
/spam
)
示例响应:{ "emails": [ {"id": 1, "subject": "邀请函", "status": "sent"}, {"id": 2, "subject": "待发送", "status": "draft"} ] }
🧹 删除邮件
DELETE /api/email_service/delete/{id}
需传入邮件唯一标识id
,支持批量删除(逗号分隔)。
开发资源
如需查看完整接口规范,请访问:
邮件服务 API 文档
技术支持
遇到问题可联系:
帮助中心