-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
62 lines (62 loc) · 1.79 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"label": {
"value": "#對帳單/元大證券電子月對帳單",
"comment": "要處理的郵件標籤"
},
"confirm_each_run": {
"value": true,
"comment": "是否在每次運行時要求確認"
},
"download_mail_attachments": {
"enabled": {
"value": true,
"comment": "是否啟用"
},
"save_mail": {
"value": false,
"comment": "是否保存信件檔案(.eml)"
},
"save_attachment": {
"value": true,
"comment": "是否下載附件"
},
"save_attachment_filename_pattern": {
"value": "%subject%_%attachment_filename%",
"comment": "附件檔名格式:可用變數 %serial%, %attachment_filename%, %subject%, %datetime%"
},
"file_types": {
"value": [".pdf", ".xlsx", ".docx"],
"comment": "要下載的文件類型列表"
},
"save_directory": {
"value": "attachments_元大證券電子月對帳單3",
"comment": "保存附件的目錄"
},
"date_range": {
"from": {
"value": "2002-01-01",
"comment": "下載附件的開始日期 (YYYY-MM-DD)"
},
"to": {
"value": "2025-01-01",
"comment": "下載附件的結束日期 (YYYY-MM-DD)"
}
}
},
"delete_emails": {
"enabled": {
"value": false,
"comment": "是否刪除郵件"
},
"date_range": {
"from": {
"value": "1980-07-01",
"comment": "開始日期 (YYYY-MM-DD)"
},
"to": {
"value": "2024-01-01",
"comment": "結束日期 (YYYY-MM-DD)"
}
}
}
}