diff --git a/packages/plugins/@nocobase/plugin-notification-email/src/client/ConfigForm.tsx b/packages/plugins/@nocobase/plugin-notification-email/src/client/ConfigForm.tsx index f1c0a8587f..c4c6c0470c 100644 --- a/packages/plugins/@nocobase/plugin-notification-email/src/client/ConfigForm.tsx +++ b/packages/plugins/@nocobase/plugin-notification-email/src/client/ConfigForm.tsx @@ -42,7 +42,7 @@ export const ChannelConfigForm = () => { type: 'void', 'x-component': 'Grid.Col', 'x-component-props': { - width: 50, + width: 45, }, properties: { host: { @@ -62,7 +62,7 @@ export const ChannelConfigForm = () => { type: 'void', 'x-component': 'Grid.Col', 'x-component-props': { - width: 25, + width: 20, }, properties: { port: { @@ -92,7 +92,7 @@ export const ChannelConfigForm = () => { type: 'void', 'x-component': 'Grid.Col', 'x-component-props': { - width: 25, + width: 35, }, properties: { secure: { @@ -100,6 +100,8 @@ export const ChannelConfigForm = () => { title: '{{t("Secure")}}', 'x-decorator': 'FormItem', 'x-component': 'TextAreaWithGlobalScope', + description: + '{{t("In most cases, if using port 465, set it to true; otherwise, set it to false.")}}', 'x-component-props': { boolean: true, useTypedConstant: [['boolean', { style: { width: '100%' } }]], diff --git a/packages/plugins/@nocobase/plugin-notification-email/src/locale/zh-CN.json b/packages/plugins/@nocobase/plugin-notification-email/src/locale/zh-CN.json index 6a74e27196..e29654a9eb 100644 --- a/packages/plugins/@nocobase/plugin-notification-email/src/locale/zh-CN.json +++ b/packages/plugins/@nocobase/plugin-notification-email/src/locale/zh-CN.json @@ -18,5 +18,6 @@ "SMTP server host": "SMTP 服务器主机", "Content type": "内容格式", "Plain text": "纯文本", - "Transport": "传输方式" + "Transport": "传输方式", + "In most cases, if using port 465, set it to true; otherwise, set it to false.": "通常情况下,如果使用端口 465 ,请设置为 true ;否则,请设置为 false 。" }