bdsender-ses
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

bdsender

Send email with amazon SES service

Install

npm install bdsender --save
# or
yarn add bdsender

Usage

const bdsender = require("bdsender");

bdsender.send({
  awsCredentials: {
      accessKeyId: "YOUR_ACCESS_KEY_ID",
      secretAccessKey: "YOUR_ACCESS_SECRET_KEY",
      region: "YOUR_REGION",
    },
  },
    from: "no-reply@yourdomain.com",
    to: ["validemail@email.com", "validemail2@email.com"],
    subject: "test sendmail",
    htmlBody: `
      <html>
        <head>
        <title>Page Title</title>
        </head>
        <body>
        <h1>My First Heading</h1>
        <p>My first paragraph.</p>
        </body>
      </html>
    `
);
import bdsender from "bdsender";

bdsender.send({
   awsCredentials: {
      accessKeyId: "YOUR_ACCESS_KEY_ID",
      secretAccessKey: "YOUR_ACCESS_SECRET_KEY",
      region: "YOUR_REGION",
    },
  },
    from: "no-reply@yourdomain.com",
    to: ["validemail@email.com", "validemail2@email.com"],
    subject: "test sendmail",
    htmlBody: `
      <html>
        <head>
        <title>Page Title</title>
        </head>
        <body>
        <h1>My First Heading</h1>
        <p>My first paragraph.</p>
        </body>
      </html>
    `
);

Readme

Keywords

Package Sidebar

Install

npm i bdsender-ses

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

2.34 kB

Total Files

5

Last publish

Collaborators

  • rodolfocoding