<commit_before># nodemailer-salesforce-transport

A Salesforce Marketing Cloud (formerly ExactTarget) transport for Nodemailer.

[![Build Status](https://travis-ci.org/Rebelmail/nodemailer-salesforce-transport.svg?branch=master)](https://travis-ci.org/Rebelmail/nodemailer-salesforce-transport)
[![NPM version](https://badge.fury.io/js/nodemailer-salesforce-transport.png)](http://badge.fury.io/js/nodemailer-salesforce-transport)

## Example

```javascript
'use strict';

var nodemailer = require('nodemailer');

var salesforceTransport = require('nodemailer-salesforce-transport');

var transport = nodemailer.createTransport(salesforceTransport({
  triggeredSendDefinitionKey: 'triggeredSendDefinitionKey',
  auth: {
    clientId: 'clientId',
    clientSecret: 'clientSecret'
  }
}));

transport.sendMail({<commit_msg>Add badges<commit_after># nodemailer-salesforce-transport

A Salesforce Marketing Cloud (formerly ExactTarget) transport for Nodemailer.

[![Build Status](https://travis-ci.org/Rebelmail/nodemailer-salesforce-transport.svg?branch=master)](https://travis-ci.org/Rebelmail/nodemailer-salesforce-transport)
[![Coverage Status](https://coveralls.io/repos/github/Rebelmail/nodemailer-salesforce-transport/badge.svg?branch=master)](https://coveralls.io/github/Rebelmail/nodemailer-salesforce-transport?branch=master)
[![npm version](https://badge.fury.io/js/nodemailer-salesforce-transport.svg)](https://badge.fury.io/js/nodemailer-salesforce-transport)

## Example

```javascript
'use strict';

var nodemailer = require('nodemailer');

var salesforceTransport = require('nodemailer-salesforce-transport');

var transport = nodemailer.createTransport(salesforceTransport({
  triggeredSendDefinitionKey: 'triggeredSendDefinitionKey',
  auth: {
    clientId: 'clientId',
    clientSecret: 'clientSecret'
  }
}));

transport.sendMail({
{'fraction_non_alphanumeric': 0.1429344883595019, 'fraction_numerical': 0.0, 'mean_word_length': 6.931330472103005, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3326222', 'n_tokens_mistral': 606, 'n_tokens_neox': 583, 'n_words': 74}