# awsemail.js

> Send Email with AWS SES API ###

Latest version **1.0.0** (published 2020-10-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install awsemail.js
pnpm add awsemail.js
yarn add awsemail.js
bun add awsemail.js
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-10-08 |
| First published | 2020-10-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Michele Rosica |
| Maintainers | michelerosica |
| Keywords | Email, SMTP, AWS, SES |

## Links

- npm: https://www.npmjs.com/package/awsemail.js
- npm.io page: https://npm.io/package/awsemail.js

## Dependencies (1)

- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.769.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-10-08

## README

# AwsEmail

AwsEmail is a framework for send Email with SES in Node.js applications.

## Node.js (Install)

Requirements:

- Node.js
- npm (Node.js package manager)

```bash
npm install awsemail.js
```

### Usage

Including all libraries, for access to extra methods:

```javascript
var AwsEmail = require('awsemail.js');

var host = "us-east-1";
var port = 587;
var user = "user";
var pass = "password";
 
var email = new AwsEmail(host, port, user, pass);

var mailOptions = {
  from: 'youremail@gmail.com',
  to  : 'myfriend@yahoo.com',
  subject: 'Sending Email using Node.js',
  text: 'That was easy!'
  //html: '<h1>Welcome</h1><p>That was easy!</p>'
};

email.SendMail(mailOptions,
  function(error, data) {
      if (error) {
          console.log("An error occurred");
      }
      else {
          console.log('Email sent: ' + data.response);
      }
  });
```

---
_Source: https://npm.io/package/awsemail.js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
