Configuration split to lists, send configurations and server config.

This is before testing.
This commit is contained in:
Tomas Bures 2018-04-22 17:33:43 +02:00
parent 4fce4b6f81
commit c12efeb97f
40 changed files with 819 additions and 311 deletions

9
shared/namespaces.js Normal file
View file

@ -0,0 +1,9 @@
'use strict';
function getGlobalNamespaceId() {
return 1;
}
module.exports = {
getGlobalNamespaceId
};

View file

@ -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
};