feat(work): 新增发送邮件接口

This commit is contained in:
fudiwei
2022-12-03 12:56:43 +08:00
parent bd3d18fd7c
commit 24d67a68bb
4 changed files with 391 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
{
"to": {
"emails": ["word@bgjkcsqy.wecom.work", "jyan1@tiyantest.wang"],
"userids": ["william"]
},
"cc": {
"emails": [],
"userids": ["panyy"]
},
"bcc": {
"emails": ["zoro@bgjkcsqy.wecom.work"],
"userids": []
},
"subject": "这是标题",
"content": "这是邮件正文",
"attachment_list": [
{
"file_name": "a.txt",
"content": "BASE64_CONTENT"
}
],
"schedule": {
"method": "request",
"location": "这是地点",
"start_time": 1669278600,
"end_time": 1669282200,
"reminders": {
"is_remind": 1,
"remind_before_event_mins": 15,
"is_repeat": 1,
"is_custom_repeat": 1,
"timezone": 8,
"repeat_interval": 1,
"repeat_type": 1,
"repeat_day_of_week": [4, 5],
"repeat_day_of_month": [],
"repeat_week_of_month": [],
"repeat_month_of_year": [],
"repeat_until": 1670745600
}
},
"meeting": {
"option": {
"password": "123456",
"auto_record": 2,
"enable_waiting_room": true,
"allow_enter_before_host": true,
"enter_restraint": 0,
"enable_screen_watermark": true,
"enable_enter_mute": 0,
"remind_scope": 2,
"water_mark_type": 0
},
"hosts": {
"userids": ["zoro"]
},
"meeting_admins": {
"userids": ["zoro"]
}
}
}