-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated for node-sparkpost 2.0.0 * Removed node 0.12, 0.10 from travis, included stackIdentity string * Added CC, BCC support and much delinting * node-sparkpost -> 2.1.0
- Loading branch information
1 parent
eb0597c
commit a20695a
Showing
6 changed files
with
122 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,3 @@ language: node_js | |
node_js: | ||
- '4.1' | ||
- '4.0' | ||
- '0.12' | ||
- '0.10' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file. | |
This project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [Unreleased] | ||
### Added | ||
- Populate node-sparkpost's stackIdentity option | ||
|
||
### Updated | ||
- Updated to `[email protected]`. | ||
|
||
## [1.1.0] - 2016/11/10 | ||
### Added | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
'use strict'; | ||
|
||
/* eslint-disable no-console */ | ||
var nodemailer = require('nodemailer') | ||
, sparkPostTransport = require('nodemailer-sparkpost-transport') | ||
, transporter = nodemailer.createTransport(sparkPostTransport({ | ||
'sparkPostApiKey': '<YOUR_API_KEY>', | ||
'options': { | ||
'open_tracking': true, | ||
'click_tracking': true, | ||
'transactional': true | ||
}, | ||
'campaign_id': 'Nodemailer Demo' | ||
})); | ||
const nodemailer = require('nodemailer'); | ||
const sparkPostTransport = require('nodemailer-sparkpost-transport'); | ||
const transporter = nodemailer.createTransport(sparkPostTransport({ | ||
'sparkPostApiKey': '<YOUR_API_KEY>', | ||
'options': { | ||
'open_tracking': true, | ||
'click_tracking': true, | ||
'transactional': true | ||
}, | ||
'campaign_id': 'Nodemailer Demo' | ||
})); | ||
|
||
transporter.sendMail({ | ||
from: '[email protected]', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.