nolimit-x 1.0.76 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/sender.js +7 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nolimit-x",
3
- "version": "1.0.76",
3
+ "version": "1.0.78",
4
4
  "description": "Advanced email sender ",
5
5
  "main": "src/cli.js",
6
6
  "bin": {
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
- if (_smtpRotation) {
281
- console.log(`\n${GREEN}SMTP Rotation {${RESET}`);
282
- _smtpArr.forEach((s, i) => {
283
- console.log(` ${WHITE}[${i + 1}]${RESET} ${GREEN}${s.host}:${s.port}${RESET} ${WHITE}User:${RESET} ${GREEN}${utils.maskEmail(s.user || '')}${RESET}`);
284
- });
285
- console.log(`${GREEN}}${RESET}`);
286
- } else {
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++;