nolimit-x 1.0.77 → 1.0.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sender.js +7 -17
package/package.json
CHANGED
package/src/sender.js
CHANGED
|
@@ -277,21 +277,13 @@ async function send(options) {
|
|
|
277
277
|
: (Array.isArray(configManager.config.smtp) ? configManager.config.smtp : [configManager.config.smtp]);
|
|
278
278
|
const _smtpRotation = configManager.config.configurations?.system?.smtp_rotation === true && _smtpArr.length > 1;
|
|
279
279
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}
|
|
287
|
-
console.log(`\n${GREEN}SMTP {${RESET}`);
|
|
288
|
-
console.log(` ${WHITE}Host:${RESET} ${GREEN}${smtpConf.host}${RESET}`);
|
|
289
|
-
console.log(` ${WHITE}Port:${RESET} ${GREEN}${smtpConf.port}${RESET}`);
|
|
290
|
-
console.log(` ${WHITE}Secure:${RESET} ${GREEN}${smtpConf.secure !== undefined ? smtpConf.secure : true}${RESET}`);
|
|
291
|
-
console.log(` ${WHITE}User:${RESET} ${GREEN}${utils.maskEmail(smtpConf.user || '')}${RESET}`);
|
|
292
|
-
console.log(` ${WHITE}Pass:${RESET} ***`);
|
|
293
|
-
console.log(`${GREEN}}${RESET}`);
|
|
294
|
-
}
|
|
280
|
+
console.log(`\n${GREEN}SMTP {${RESET}`);
|
|
281
|
+
console.log(` ${WHITE}Host:${RESET} ${GREEN}${smtpConf.host}${RESET}`);
|
|
282
|
+
console.log(` ${WHITE}Port:${RESET} ${GREEN}${smtpConf.port}${RESET}`);
|
|
283
|
+
console.log(` ${WHITE}Secure:${RESET} ${GREEN}${smtpConf.secure !== undefined ? smtpConf.secure : true}${RESET}`);
|
|
284
|
+
console.log(` ${WHITE}User:${RESET} ${GREEN}${utils.maskEmail(smtpConf.user || '')}${RESET}`);
|
|
285
|
+
console.log(` ${WHITE}Pass:${RESET} ***`);
|
|
286
|
+
console.log(`${GREEN}}${RESET}`);
|
|
295
287
|
|
|
296
288
|
// ═══════════════════════════════════════════════════════
|
|
297
289
|
// ACTIVE FEATURES
|
|
@@ -523,8 +515,6 @@ async function send(options) {
|
|
|
523
515
|
try { senderIntel.recordSuccessfulSend(campaignId, sender, email, result); } catch (e) { }
|
|
524
516
|
} else {
|
|
525
517
|
campaign.failedSends++;
|
|
526
|
-
const errMsg = result.error || result.message || 'unknown error';
|
|
527
|
-
console.log(`${RED}✗${RESET} ${WHITE}${email}${RESET} — ${RED}${errMsg}${RESET}`);
|
|
528
518
|
try { senderIntel.recordFailedSend(campaignId, sender, email, result); } catch (e) { }
|
|
529
519
|
}
|
|
530
520
|
campaign.processedEmails++;
|