curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/exmail/app/compose_send' \
--header 'Content-Type: application/json' \
--data-raw '{
"to": {
"emails": [
"string"
],
"userids": [
"string"
]
},
"cc": {
"emails": [
"string"
],
"userids": [
"string"
]
},
"bcc": {
"emails": [
"string"
],
"userids": [
"string"
]
},
"subject": "string",
"content": "string",
"attachment_list": [
{
"file_name": "string",
"content": "string"
}
],
"content_type\t": "string"
}'
{
"errcode": 0,
"errmsg": "ok"
}