BHMailer HTTP API接口文档
  1. 邮件
BHMailer HTTP API接口文档
  • 文档说明
  • 基础
    • 获取API基本信息
      GET
    • 获取邮箱账号分组列表
      GET
    • 获取运行结果
      GET
  • 邮箱账号
    • 获取一个邮箱账号
      GET
    • 获取邮箱账号列表
      GET
    • 设置邮箱账号
      GET
    • 删除邮箱账号
      GET
  • 邮箱文件夹
    • 获取邮箱文件夹列表
      GET
    • 获取文件夹列表下一页
      GET
  • 邮件
    • 启动接收新邮件
      GET
    • 接收并查找指定邮件
      GET
    • 查找指定邮件
      GET
    • 获取文件夹邮件列表
      GET
    • 获取所有邮件列表
      GET
    • 获取邮件列表下一页
      GET
    • 获取邮件详情
      GET
    • 获取邮件原文
      GET
    • 截取邮件内容
      GET
    • 移动邮件到指定文件夹
      GET
    • 设置邮件阅读状态
      GET
    • 删除邮件
      GET
    • 发送邮件
      GET
  1. 邮件

获取邮件列表下一页

内地服务器
https://bsh.bhdata.com:30015
内地服务器
https://bsh.bhdata.com:30015
GET
/bhmailer/fetchMessages
获取邮件列表下一页数据

请求参数

Query 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://bsh.bhdata.com:30015/bhmailer/fetchMessages?id=500d3a779ed94fd88ea7604f21f8add1&uid=&sign='

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 0,
    "data": {
        "value": [
            {
                "id": "60259c0968554bb0add8fc978b6059ed",
                "createdDateTime": 1753374113474,
                "receivedDateTime": "2025-07-25 00:21:53",
                "hasAttachments": false,
                "subject": "test6666",
                "folderId": "4258a366913f400d8bd62c78f31f0605",
                "isRead": true,
                "isDraft": false,
                "isFull": true,
                "sender": "aa-cc<bhdata@126.com>",
                "mailTo": "test3@diyxt.cn",
                "mailCC": "",
                "size": 1057,
                "attachments": ""
            },
            {
                "id": "3520e653a5be410284f1e20fe87deec4",
                "createdDateTime": 1753371207702,
                "receivedDateTime": "2025-07-24 23:33:27",
                "hasAttachments": false,
                "subject": "test356",
                "folderId": "4258a366913f400d8bd62c78f31f0605",
                "isRead": true,
                "isDraft": false,
                "isFull": true,
                "sender": "aa-cc<bhdata@126.com>",
                "mailTo": "test3@diyxt.cn",
                "mailCC": "",
                "size": 1056,
                "attachments": ""
            },
            {
                "id": "13b0c33697c2419f91a7d47e911de3f5",
                "createdDateTime": 1753371178658,
                "receivedDateTime": "2025-07-24 23:32:58",
                "hasAttachments": false,
                "subject": "hello 32",
                "folderId": "4258a366913f400d8bd62c78f31f0605",
                "isRead": true,
                "isDraft": false,
                "isFull": true,
                "sender": "aa-cc<bhdata@126.com>",
                "mailTo": "test3@diyxt.cn",
                "mailCC": "",
                "size": 1053,
                "attachments": ""
            },
            {
                "id": "74845c099aef4fe9b57f6950bd03cdb6",
                "createdDateTime": 1753371017842,
                "receivedDateTime": "2025-07-24 23:30:17",
                "hasAttachments": false,
                "subject": "test 33",
                "folderId": "4258a366913f400d8bd62c78f31f0605",
                "isRead": true,
                "isDraft": false,
                "isFull": true,
                "sender": "aa-cc<bhdata@126.com>",
                "mailTo": "test3@diyxt.cn",
                "mailCC": "",
                "size": 1056,
                "attachments": ""
            },
            {
                "id": "db5be24b88464e618e7aa42a6df63d9b",
                "createdDateTime": 1753370936032,
                "receivedDateTime": "2025-07-24 23:28:56",
                "hasAttachments": false,
                "subject": "ttttttttrty",
                "folderId": "4258a366913f400d8bd62c78f31f0605",
                "isRead": true,
                "isDraft": false,
                "isFull": true,
                "sender": "aa-cc<bhdata@126.com>",
                "mailTo": "test3@diyxt.cn",
                "mailCC": "",
                "size": 1072,
                "attachments": ""
            },
            {
                "id": "7b42fbc550ad448a986b2ca438895d97",
                "createdDateTime": 1753370778077,
                "receivedDateTime": "2025-07-24 23:26:18",
                "hasAttachments": false,
                "subject": "ttttt",
                "folderId": "4258a366913f400d8bd62c78f31f0605",
                "isRead": true,
                "isDraft": false,
                "isFull": true,
                "sender": "aa-cc<bhdata@126.com>",
                "mailTo": "test3@diyxt.cn",
                "mailCC": "",
                "size": 1050,
                "attachments": ""
            },
            {
                "id": "06bbbbe6c50b4d8ca81c19a165818ba2",
                "createdDateTime": 1753370649305,
                "receivedDateTime": "2025-07-24 23:24:09",
                "hasAttachments": false,
                "subject": "test555",
                "folderId": "4258a366913f400d8bd62c78f31f0605",
                "isRead": true,
                "isDraft": false,
                "isFull": true,
                "sender": "aa-cc<bhdata@126.com>",
                "mailTo": "test3@diyxt.cn",
                "mailCC": "",
                "size": 1064,
                "attachments": ""
            },
            {
                "id": "c123120bfd764c889cad334f37c4dde5",
                "createdDateTime": 1753350347171,
                "receivedDateTime": "2025-07-24 17:45:47",
                "hasAttachments": false,
                "subject": "test 5555",
                "folderId": "4258a366913f400d8bd62c78f31f0605",
                "isRead": true,
                "isDraft": false,
                "isFull": true,
                "sender": "aa-cc<bhdata@126.com>",
                "mailTo": "test3@diyxt.cn",
                "mailCC": "",
                "size": 1058,
                "attachments": ""
            },
            {
                "id": "baf7285bea594d468edee9e3af52b31d",
                "createdDateTime": 1753350270063,
                "receivedDateTime": "2025-07-24 17:44:30",
                "hasAttachments": false,
                "subject": "test 3333",
                "folderId": "4258a366913f400d8bd62c78f31f0605",
                "isRead": true,
                "isDraft": false,
                "isFull": true,
                "sender": "aa-cc<bhdata@126.com>",
                "mailTo": "test3@diyxt.cn",
                "mailCC": "",
                "size": 1062,
                "attachments": ""
            },
            {
                "id": "9a3c2ccb2b2a41b3af49bc184cc285a3",
                "createdDateTime": 1753350150453,
                "receivedDateTime": "2025-07-24 17:42:30",
                "hasAttachments": false,
                "subject": "test 22222",
                "folderId": "4258a366913f400d8bd62c78f31f0605",
                "isRead": true,
                "isDraft": false,
                "isFull": true,
                "sender": "aa-cc<bhdata@126.com>",
                "mailTo": "test3@diyxt.cn",
                "mailCC": "",
                "size": 1063,
                "attachments": ""
            }
        ],
        "@odata.nextLink": "/fetchMessages/500d3a779ed94fd88ea7604f21f8add1"
    }
}
修改于 2025-08-15 05:06:11
上一页
获取所有邮件列表
下一页
获取邮件详情
Built with