Configuration split to lists, send configurations and server config.
This is before testing.
This commit is contained in:
parent
4fce4b6f81
commit
c12efeb97f
40 changed files with 819 additions and 311 deletions
9
shared/namespaces.js
Normal file
9
shared/namespaces.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
function getGlobalNamespaceId() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
getGlobalNamespaceId
|
||||
};
|
|
@ -1,12 +1,17 @@
|
|||
'use strict';
|
||||
|
||||
const MailerType = {
|
||||
GENERIC_SMTP: 0,
|
||||
ZONE_MTA: 1,
|
||||
AWS_SES: 2,
|
||||
GENERIC_SMTP: 'generic_smtp',
|
||||
ZONE_MTA: 'zone_mta',
|
||||
AWS_SES: 'aws_ses',
|
||||
MAX: 3
|
||||
};
|
||||
|
||||
function getSystemSendConfigurationId() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
MailerType
|
||||
MailerType,
|
||||
getSystemSendConfigurationId
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue