Skip to content

daffinity/nodemailer-s3-transport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3 Transport for Nodemailer

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

Usage

Install with npm

npm install nodemailer-s3-transport

Require to your script

var nodemailer = require('nodemailer');
var pickupTransport = require('nodemailer-s3-transport');

Create a Nodemailer transport object

var transporter = nodemailer.createTransport(pickupTransport(options))

Where

  • options defines connection data
    • bucketName - The S3 bucket name where applications save e-mail (required)
    • bucketRegion - The AWS region of the S3 bucket where applications save e-mail (required)

Example

var transport = nodemailer.createTransport(pickupTransport({
    bucketName: 'my-s3-bucket-name-here',
    bucketRegion: 'us-east-1'
}));

License

MIT

About

S3 transport for Nodemailer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published