1.0.19 • Published 12 months ago

bulk-mailer2 v1.0.19

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Project Title

A brief description of what this project does and who it's for

Bulk Mailer

A Node.js package for sending bulk emails using worker threads. This package ensures reliable email delivery with built-in error handling and validation.

Installation

To install the package, run:

npm install bulk-mailer2

Example:
const config = {
  service: 'Gmail', // Example: 'Gmail', 'Yahoo', etc.
  auth: {
    user: 'your-email@gmail.com',
    pass: 'your-email-password'
  }
};

const emailData = [
  {
    to: 'recipient1@example.com',
    subject: 'Welcome to Our Service!',
    text: 'Thank you for signing up. We hope you enjoy our service.',
    html: '<p>Thank you for signing up. We hope you enjoy our service.</p>'
  },
  {
    to: 'recipient2@example.com',
    subject: 'Monthly Newsletter',
    text: 'Here is your monthly newsletter. Enjoy!',
    html: '<p>Here is your monthly newsletter. Enjoy!</p>'
  }
  // Add more email objects as needed
];

const { sendEmails } = require('bulk-mailer2');

sendEmails(config, emailData);
1.0.19

12 months ago

1.0.18

12 months ago

1.0.17

12 months ago

1.0.16

12 months ago

1.0.15

12 months ago

1.0.14

12 months ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago