# ad-mailer

> Package will help users to send emails using node mailer

Latest version **1.0.4** (published 2022-03-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install ad-mailer
pnpm add ad-mailer
yarn add ad-mailer
bun add ad-mailer
```

## 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.4 |
| Published | 2022-03-28 |
| First published | 2022-03-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.5 KB |
| Known vulnerabilities | 0 (+15 in 1 direct dependencies) |
| Install scripts | no |
| Author | Adil Sikandar |
| Maintainers | adilsikandar |
| Keywords | quick-mailer, mailer, node-mailer, send-mail, node-mail |

## Links

- npm: https://www.npmjs.com/package/ad-mailer
- npm.io page: https://npm.io/package/ad-mailer

## Dependencies (1)

- [nodemailer](https://npm.io/package/nodemailer.md) ^6.7.3

## 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.4 (latest) — 2022-03-28
- 1.0.3 — 2022-03-28
- 1.0.2 — 2022-03-28
- 1.0.1 — 2022-03-28
- 1.0.0 — 2022-03-28

## README

# ad-mailer

Ad-Mailer is a node.js for sending emails instantly using one line of code with your own configurations.

## Installation

This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/). Installation is done using the
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):

```sh
$ npm install ad-mailer
```
## Usage

```javascript
  const adMailer = require('ad-mailer');
  const config = {
		service: 'Gmail', 
		user: 'admin@gmail.com', // you can replace your authtentication
		pass: 'admin123'
		
	}
  const options = {
		from: 'admin@gmail.com', // sender address
		to: 'test@gmail.com', // list of receivers
		subject: 'Testing Ad Mailer', // Subject line
		//text: 'Hello world?', // plain text body
		html: `<h1>Testing ad mailer</h1>` // Make sure you are passing html body in template literal
	};
  adMailer(config, options)

```

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