1.0.9 • Published 2 years ago

@novo-x/aws-ses v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
2 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

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago