1.0.19 • Published 10 months ago
bulk-mailer2 v1.0.19
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
10 months ago
1.0.18
10 months ago
1.0.17
10 months ago
1.0.16
10 months ago
1.0.15
10 months ago
1.0.14
10 months ago
1.0.12
10 months ago
1.0.11
10 months ago
1.0.10
10 months ago
1.0.9
10 months ago
1.0.8
10 months ago
1.0.7
10 months ago
1.0.6
10 months ago
1.0.5
10 months ago
1.0.4
10 months ago
1.0.3
10 months ago
1.0.2
10 months ago
1.0.1
10 months ago
1.0.0
10 months ago