mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: smtp config
This commit is contained in:
@@ -111,10 +111,4 @@ export type Settings = {
|
||||
fallback_message: string[];
|
||||
fallback_block: string;
|
||||
};
|
||||
email_settings: {
|
||||
mailer: string;
|
||||
auth_user: string;
|
||||
auth_pass: string;
|
||||
from: string;
|
||||
};
|
||||
} & Record<string, any>;
|
||||
|
||||
@@ -99,56 +99,6 @@ export const settingModels: SettingCreateDto[] = [
|
||||
},
|
||||
weight: 6,
|
||||
},
|
||||
{
|
||||
group: 'email_settings',
|
||||
label: 'from',
|
||||
value: 'no-reply@domain.com',
|
||||
type: SettingType.text,
|
||||
weight: 1,
|
||||
},
|
||||
{
|
||||
group: 'email_settings',
|
||||
label: 'mailer',
|
||||
value: 'sendmail',
|
||||
options: ['sendmail', 'smtp'],
|
||||
type: SettingType.select,
|
||||
weight: 2,
|
||||
},
|
||||
{
|
||||
group: 'email_settings',
|
||||
label: 'host',
|
||||
value: 'localhost',
|
||||
type: SettingType.text,
|
||||
weight: 3,
|
||||
},
|
||||
{
|
||||
group: 'email_settings',
|
||||
label: 'port',
|
||||
value: '25',
|
||||
type: SettingType.text,
|
||||
weight: 4,
|
||||
},
|
||||
{
|
||||
group: 'email_settings',
|
||||
label: 'secure',
|
||||
value: true,
|
||||
type: SettingType.checkbox,
|
||||
weight: 5,
|
||||
},
|
||||
{
|
||||
group: 'email_settings',
|
||||
label: 'auth_user',
|
||||
value: '',
|
||||
type: SettingType.text,
|
||||
weight: 6,
|
||||
},
|
||||
{
|
||||
group: 'email_settings',
|
||||
label: 'auth_pass',
|
||||
value: '',
|
||||
type: SettingType.text,
|
||||
weight: 7,
|
||||
},
|
||||
{
|
||||
group: 'contact',
|
||||
label: 'contact_email_recipient',
|
||||
|
||||
Reference in New Issue
Block a user