测试发送只投递到该地址,不打扰主送与抄送名单;未填时退回主送首位。
This commit is contained in:
@@ -7,6 +7,7 @@ export interface WeeklyMailSettings {
|
||||
from: string
|
||||
recipients: string[]
|
||||
cc_recipients: string[]
|
||||
review_address: string
|
||||
weekday: number
|
||||
hour: number
|
||||
enabled: boolean
|
||||
@@ -61,6 +62,7 @@ export function parseWeeklyMailSettings(value: unknown): WeeklyMailSettings {
|
||||
from: str(v.from),
|
||||
recipients: recipients as string[],
|
||||
cc_recipients: cc as string[],
|
||||
review_address: typeof v.review_address === 'string' ? v.review_address : '',
|
||||
weekday,
|
||||
hour,
|
||||
enabled: v.enabled,
|
||||
@@ -130,6 +132,7 @@ export async function saveWeeklyMailSettings(
|
||||
from: form.from,
|
||||
recipients: form.recipients,
|
||||
cc_recipients: form.cc_recipients,
|
||||
review_address: form.review_address,
|
||||
weekday: form.weekday,
|
||||
hour: form.hour,
|
||||
enabled: form.enabled,
|
||||
|
||||
Reference in New Issue
Block a user