nodemailer-pickup-transport
v0.1.1
Published
Pickup transport for Nodemailer
Downloads
6,419
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