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\t": {
"file_name": "string",
"content": "string"
},
"content_type": "string",
"schedule": {
"method": "string",
"schedule_id": "string",
"location": "string",
"start_time": 0,
"end_time": 0,
"reminders": {
"is_remind": 0,
"remind_before_event_mins": 0,
"is_repeat": 0,
"is_custom_repeat": 0,
"timezone": 0,
"repeat_interval": 0,
"repeat_type": 0,
"repeat_day_of_week": [
0
],
"repeat_day_of_month": [
"string"
],
"repeat_week_of_month": [
"string"
],
"repeat_month_of_year": [
"string"
],
"repeat_until": 0,
"schedule_admins": {}
}
}
}'