nodemailer-pickup-transport

Pickup transport for Nodemailer

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
nodemailer-pickup-transport
1000.1.110 years ago10 years agoMinified + gzip package size for nodemailer-pickup-transport in KB

Readme

Pickup transport module for Nodemailer
Applies for Nodemailer v1.x and not for v0.x where transports are built-in.

Usage

Install with npm
npm install nodemailer-pickup-transport
Require to your script
var nodemailer = require('nodemailer');
var pickupTransport = require('nodemailer-pickup-transport');

Create a Nodemailer transport object
var transporter = nodemailer.createTransport(pickupTransport(options))

Where
options defines connection data
* **directory** - The directory where applications save e-mail for later processing by the SMTP server (required)
Example
var transport = nodemailer.createTransport(pickupTransport({
    directory: 'C:\\inetpub\\mailroot\\Pickup'
}));

License

MIT