- Import emails from a list to a DB

- Create Template Emails
- Options Email
This commit is contained in:
Paolo Arena
2019-12-04 02:03:44 +01:00
parent f7fa0c4909
commit 6adeb32d46
19 changed files with 1061 additions and 211 deletions

View File

@@ -100,7 +100,7 @@ app.use('/', index_router);
app.use('/subscribe', subscribe_router);
app.use('/sendmsg', sendmsg_router);
app.use('/push', push_router);
app.use('/signup_news', newsletter_router);
app.use('/news', newsletter_router);
app.use('/booking', booking_router);
app.use('/event', myevent_router);
app.use('/email', email_router);
@@ -155,6 +155,8 @@ if ((process.env.NODE_ENV === 'production') || (process.env.NODE_ENV === 'test')
if (process.env.PROD !== 1) {
// testmsgwebpush();
// sendemail.testemail('2', 'it');
mycron();
}
// ----------------- MAILCHIMP -----
@@ -226,7 +228,6 @@ function testmsgwebpush() {
}
});
}
// Cron every 5 minutes