Merge branch 'master' of github.com:andris9/mailtrain
This commit is contained in:
commit
89715c56fc
5 changed files with 52 additions and 8 deletions
|
@ -214,6 +214,10 @@ module.exports.addConfirmation = (list, email, optInIp, data, callback) => {
|
|||
}
|
||||
|
||||
setImmediate(() => {
|
||||
if (data._skip) {
|
||||
log.info('Subscription', 'Confirmation message for %s marked to be skipped (%s)', email, JSON.stringify(data));
|
||||
return;
|
||||
}
|
||||
|
||||
mailer.sendMail({
|
||||
from: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue