schm-email-send-papi
home
schm-email-send-papi

Sendmail
Interface description: Sends a message to the specified mailbox
Interface name: emailSend
Request method: HTTP POST form-data
Parameter Description:
| Field Description | Field Name | Required | Type | Remarks |
|---|---|---|---|---|
| Subject of an email | subject | Y | String | |
| Email recipient | addressee | Y | String | Separate multiple mailboxes with commas |
| Cc on email | carbonCopy | N | String | Separate multiple mailboxes with commas |
| Mail content | content | N | String | It can be text, HTML and other forms |
| Mail attachments | attachments | N | multipart/form-data | Multiple choices are allowed |
Parameter example String
{
"subject":"测试主题",
"addressee":"test1@.com",
"carbonCopy":"test1@.com",
"content":"测试内容"
}Return result description
| description | key | type | remarks |
|---|---|---|---|
| Return messages | Message | String | Error or success message |
Example of return result
{
"Message": "success"
}