-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
200 lines (200 loc) · 6.16 KB
/
package.json
File metadata and controls
200 lines (200 loc) · 6.16 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"id": "tools.moimz.imodules.modules.email",
"icon": "xi xi-letter",
"title": {
"ko": "이메일"
},
"version": "4.0.0",
"description": {
"ko": "이메일 발송을 위한 모듈입니다."
},
"author": {
"name": "Arzz",
"email": "arzz@arzz.com"
},
"homepage": "https://www.imodules.io",
"versionChecker": "https://api.moimz.com/download/latest",
"dependencies": {
"core": "4.0.0"
},
"language": "ko",
"admin": true,
"configs": {
"default": {
"type": "fieldset",
"label": {
"ko": "기본설정"
},
"items": {
"template": {
"type": "template",
"label": {
"ko": "메일템플릿"
},
"component": {
"type": "module",
"name": "email"
},
"default": "default"
},
"default_from_address": {
"type": "text",
"label": {
"ko": "기본발송주소"
},
"default": "no-reply@domain.com"
},
"default_from_name": {
"type": "text",
"label": {
"ko": "기본발송자명"
},
"default": "WEBMASTER"
}
}
},
"smtp": {
"type": "fieldset",
"label": {
"ko": "메일서버설정"
},
"items": {
"smtp_host": {
"type": "text",
"label": {
"ko": "SMTP주소"
},
"default": "localhost"
},
"smtp_port": {
"type": "text",
"label": {
"ko": "포트"
},
"default": "465"
},
"smtp_secure": {
"type": "select",
"label": {
"ko": "접속방식"
},
"options": {
"NONE": {
"ko": "암호화없음"
},
"TLS": "TLS",
"SSL": "SSL"
},
"default": "TLS"
},
"smtp_id": {
"type": "text",
"label": {
"ko": "SMTP 아이디"
},
"allowBlank": true,
"default": ""
},
"smtp_password": {
"type": "text",
"label": {
"ko": "패스워드"
},
"allowBlank": true,
"default": ""
}
}
}
},
"databases": {
"messages": {
"columns": {
"message_id": {
"type": "char",
"length": 36,
"comment": "메시지고유값"
},
"member_id": {
"type": "int",
"comment": "수신자회원고유값"
},
"email": {
"type": "varchar",
"length": 100,
"comment": "수신자메일주소"
},
"name": {
"type": "varchar",
"length": 100,
"is_null": true,
"comment": "수신자명"
},
"component_type": {
"type": "varchar",
"length": 10,
"comment": "SMS를 전송한 컴포넌트종류"
},
"component_name": {
"type": "varchar",
"length": 50,
"comment": "SMS를 전송한 컴포넌트명"
},
"title": {
"type": "varchar",
"length": 255,
"comment": "제목"
},
"content": {
"type": "longtext",
"comment": "본문내용"
},
"reply_to": {
"type": "json",
"comment": "답장받는사람"
},
"sended_by": {
"type": "int",
"comment": "발송자회원고유값"
},
"sended_email": {
"type": "varchar",
"length": 100,
"comment": "발송자메일주소"
},
"sended_name": {
"type": "varchar",
"length": 100,
"is_null": true,
"comment": "발송자명"
},
"sended_at": {
"type": "int",
"comment": "발송일시"
},
"checked_at": {
"type": "int",
"is_null": true,
"comment": "확인일시"
},
"status": {
"type": "enum",
"length": "'TRUE','FALSE'",
"default": "FALSE",
"comment": "발송상태"
},
"response": {
"type": "text",
"is_null": true,
"comment": "발송응답내용"
}
},
"indexes": {
"message_id": "primary_key",
"member_id": "index",
"email": "index",
"component_type,component_name": "index"
},
"comment": "아이모듈 이메일 메시지"
}
}
}