# mailover

> Simple handy apis for sending mail.

Latest version **1.0.1** (published 2014-09-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install mailover
pnpm add mailover
yarn add mailover
bun add mailover
```

## 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.1 |
| Published | 2014-09-17 |
| First published | 2014-09-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+15 in 1 direct dependencies) |
| Install scripts | no |
| Author | Neil Zheng |
| Maintainers | janus |
| Keywords | mail, email, e-mail, sendemail, mailto, mailvia, mailover |

## Links

- npm: https://www.npmjs.com/package/mailover
- Repository: https://github.com/Janus-Z/mailover
- Issues: https://github.com/Janus-Z/mailover/issues
- npm.io page: https://npm.io/package/mailover

## Dependencies (3)

- [debug](https://npm.io/package/debug.md) ^2.0.0
- [nodemailer](https://npm.io/package/nodemailer.md) ^1.3.0
- [nodemailer-markdown](https://npm.io/package/nodemailer-markdown.md) ^1.0.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.1 (latest) — 2014-09-17
- 1.0.0 — 2014-09-17

## README

# Mailover

Simple handy apis for sending mail.

[![Build Status](https://img.shields.io/travis/Janus-Z/mailover.svg?style=flat)](https://travis-ci.org/Janus-Z/mailover)
[![NPM Version](https://img.shields.io/npm/v/mailover.svg?style=flat)](https://www.npmjs.org/package/mailover)
[![Dependencies Status](http://img.shields.io/david/Janus-Z/mailover.svg?style=flat)](https://david-dm.org/Janus-Z/mailover)
[![License Type](https://img.shields.io/npm/l/mailover.svg?style=flat)](https://www.npmjs.org/package/mailover)

---

## TL;DR

### Install

```bash
$ npm install mailover --save
```

### Simple usage

```javascript
var mailover = require('mailover');

// transport mechanism
var transport = {
  service: 'gmail',
  auth: {
    user: 'sender@gmail.com',
    pass: 'password'
  }
};

// mail message
var mail = {
  from: 'sender@address',
  to: 'receiver@address',
  subject: 'Send a message using mailover',
  markdown: {
    path: './asset/message.md'
  }
};

// send mail
var mailer = mailover(transport);
mailer.send(mail);
```

### Semantic usage

```javascript
var mailroom = require('mailover').mailroom;

// add a mailer to mailroom
var send = mailroom.add('gmail', {
  service: 'gmail',
  auth: {
    user: 'sender@gmail.com',
    pass: 'password'
  }
});

// send mail
send.mail
  .from('sender@address')
  .to('receiver@address')
  .with.subject('Send a message using mailover')
  .and.text('Hello world!');
```

## More Options

**mailover** is based on [**Nodemailer**](https://github.com/andris9/Nodemailer).  
See more options and details [here](https://github.com/andris9/Nodemailer/blob/master/README.md).

## License

**mailover** is licensed under [MIT license](https://github.com/andris9/Nodemailer/blob/master/LICENSE).  
Basically you can do whatever you want to with it.

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