POST api/Email/SaveEmails
保存邮件到数据库中
Request Information
URI Parameters
None.
Body Parameters
GetEmailParms| Name | Description | Type | Additional information |
|---|---|---|---|
| resid | integer |
None. |
|
| uIDCol | string |
None. |
|
| fromCol | string |
None. |
|
| bodyTextCol | string |
None. |
|
| bodyHtmlTextCol | string |
None. |
|
| subjectCol | string |
None. |
|
| pop3Server | string |
None. |
|
| pop3Port | string |
None. |
|
| username | string |
None. |
|
| password | string |
None. |
|
| isdelete | boolean |
None. |
|
| dblinkname | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"resid": 1,
"uIDCol": "sample string 2",
"fromCol": "sample string 3",
"bodyTextCol": "sample string 4",
"bodyHtmlTextCol": "sample string 5",
"subjectCol": "sample string 6",
"pop3Server": "sample string 7",
"pop3Port": "sample string 8",
"username": "sample string 9",
"password": "sample string 10",
"isdelete": true,
"dblinkname": "sample string 12"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
result| Name | Description | Type | Additional information |
|---|---|---|---|
| error |
错误代码 |
integer |
None. |
| message |
错误信息 |
string |
None. |
| data |
数据 |
Object |
None. |
| stacktrace |
详细错误信息 |
string |
None. |
| otherdata |
其他返回数据 |
Object |
None. |
| LastError | string |
None. |
|
| IsComplete | boolean |
None. |
|
| total | integer |
None. |
|
| index | integer |
None. |
|
| IsTerminate | boolean |
None. |
|
| taskgroupid | integer |
None. |
|
| taskid | integer |
None. |
|
| msg | string |
None. |
|
| status | integer |
None. |
|
| serverTime | date |
None. |
|
| lockdata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"error": 1,
"message": "sample string 2",
"data": {},
"stacktrace": "sample string 4",
"otherdata": {},
"LastError": "sample string 6",
"IsComplete": true,
"total": 8,
"index": 9,
"IsTerminate": true,
"taskgroupid": 11,
"taskid": 12,
"msg": "sample string 13",
"status": 14,
"serverTime": "2025-12-06T12:07:23.6895665+08:00",
"lockdata": {}
}