mailtrain/shared/send-configurations.js

29 lines
513 B
JavaScript
Raw Normal View History

2018-04-22 07:00:04 +00:00
'use strict';
const MailerType = {
GENERIC_SMTP: 'generic_smtp',
ZONE_MTA: 'zone_mta',
AWS_SES: 'aws_ses'
2018-04-22 07:00:04 +00:00
};
const ZoneMTAType = {
REGULAR: 0,
WITH_HTTP_CONF: 1,
WITH_MAILTRAIN_HEADER_CONF: 2,
BUILTIN: 3
}
function getSystemSendConfigurationId() {
return 1;
}
2018-09-23 19:23:12 +00:00
function getSystemSendConfigurationCid() {
2018-09-23 20:28:58 +00:00
return 'system';
2018-09-23 19:23:12 +00:00
}
2018-04-22 07:00:04 +00:00
module.exports = {
MailerType,
ZoneMTAType,
2018-09-23 19:23:12 +00:00
getSystemSendConfigurationId,
getSystemSendConfigurationCid
2018-04-22 07:00:04 +00:00
};