1.0.9 • Published 3 years ago

@novo-x/aws-ses v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

AWS SES Service

Available methods

  • sendEmail: sends email
  • sendRawEmail: sends raw email

Usage examples

yarn add @novo-x/aws-ses

import {SES} from "@novo-x/aws-ses"

const MyService = new SES({
    apiVersion: 'latest',
    region: 'eu-west-3',
});

MyService.updateAwsConfig({
    // ... AWS config
})

const msg = await MyService.sendEmail(
    ["email.1@email.com", "email.2@email.com"], // receivers
    'My subject', // subject
    '<h1>Hello World</h1>', // htmlBody
    "from@email.com" // sender
);

const rawMsg = await MyService.sendEmail(
    "email@email.com", // receiver
    'My subject', // subject
    '<h1>Hello World</h1>', // htmlBody
    "from@email.com" // sender
);

Dependencies

aws-sdk

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago