nolimit-x 1.0.21 → 1.0.23

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nolimit-x",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "Advanced email sender ",
5
5
  "main": "src/cli.js",
6
6
  "bin": {
@@ -160,7 +160,7 @@ const dynamicPlaceholders = [
160
160
  // Main function to replace placeholders in text
161
161
  async function replacePlaceholders(text, email, fromName = '', fromEmail = '') {
162
162
  if (!text || typeof text !== 'string') return text;
163
-
163
+ console.log('replacePlaceholders input:', text);
164
164
  let updatedText = text;
165
165
 
166
166
  // Perform all replacements
package/src/sender.js CHANGED
@@ -20,6 +20,7 @@ async function sendEmailNodemailer({ email, senderEmail, subject, body, attachme
20
20
  filename: att.filename,
21
21
  content: att.content
22
22
  }));
23
+ console.log('EMAIL HTML BODY:', body);
23
24
  await transporter.sendMail({
24
25
  from: `"${fromName}" <${senderEmail}>`,
25
26
  to: email,
@@ -107,6 +108,7 @@ async function send(options) {
107
108
  scripter: att.scripter
108
109
  }))
109
110
  };
111
+ console.log('RUST EMAIL BODY:', job.body);
110
112
  return await sendEmailRust(job);
111
113
  });
112
114
  } else {
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "smtp": [
3
3
  {
4
- "host": "smtp.gmail.com",
4
+ "host": "smtp.kolabnow.com",
5
5
  "port": 587,
6
6
  "secure": false,
7
- "user": "your-email@gmail.com",
8
- "pass": "your-app-password"
7
+ "user": "webertester@kolabnow.com",
8
+ "pass": "Moonlight@120"
9
9
  }
10
10
  ],
11
11
  "emails_list": {
@@ -19,12 +19,12 @@
19
19
  },
20
20
  "configurations": {
21
21
  "from_name": "John Doe",
22
- "from_email": "john.doe@company.com",
22
+ "from_email": "webertester@kolabnow.com",
23
23
  "mail_subject": "Important Update",
24
24
  "reply_to": "support@company.com",
25
25
  "mail_priority": "3",
26
26
  "use_attachment": false,
27
- "raw_smtp": false,
27
+ "raw_smtp": true,
28
28
  "raw_headers": {
29
29
  "X-Custom-Header": "Custom Value",
30
30
  "X-Mailer": "Custom Mailer v1.0",
@@ -51,4 +51,4 @@
51
51
  "scripter": false
52
52
  }
53
53
  ]
54
- }
54
+ }
@@ -1,3 +1,2 @@
1
1
  # List of sender emails
2
- sender1@example.com
3
- sender2@example.com
2
+ webertester@kolabnow.com