1.2.1 • Published 4 years ago

cm-email-sdk v1.2.1

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

CM E-Mail SDK

Made by Flixcheck GmbH

Introduction

This is a very simple JavaScipt SDK for CM's e-mail campaign service.

Installation

npm install cm-email-sdk

Usage

const CmEmailClient = require("cm-email-sdk");

const client = new CmEmailClient(accountId, productToken);

await client.setFrom(
    "my-added-address@my-validated-domain.com",
    "Some Sendername"
);

await client.send(
    "recipient@example.com",
    "Bob Dylan",
    "Welcome, Bob!",
    "This is a test e-mail.\n\nDid it arrive?"
);

For more examples check out the /examples folder.

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago