Skip to main content
Complete guide to sending emails with Nodemailer and MailDiver SMTP.

Basic Setup

Multiple Recipients

Send emails to multiple recipients using CC and BCC:
Limits:
  • Maximum 50 recipients per field (to, cc, bcc)
  • Each field is validated separately

File Attachments

Attach files to your emails:
Limits:
  • Maximum 10 attachments per email
  • Maximum 40MB total attachment size

Connection Pooling

For bulk email sending, use connection pooling to improve performance:

Without Pooling (Single Connection)

Benefits of Connection Pooling:
  • Authenticates once, reuses connections
  • Reduces TLS handshake overhead
  • Much faster for bulk sending (10-20x improvement)
  • Automatic connection rotation

Next Steps

Back to Overview

Return to SMTP overview, advanced features, validation rules, and troubleshooting