# ngx-maillerby-az

> This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.0.

Latest version **0.1.4** (published 2020-02-04) · 0 weekly downloads

## Install

```sh
npm install ngx-maillerby-az
pnpm add ngx-maillerby-az
yarn add ngx-maillerby-az
bun add ngx-maillerby-az
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2020-02-04 |
| First published | 2020-01-21 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 90.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ninh7214997 |

## Links

- npm: https://www.npmjs.com/package/ngx-maillerby-az
- npm.io page: https://npm.io/package/ngx-maillerby-az

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^1.9.0

## Recent versions

- 0.1.4 (latest) — 2020-02-04
- 0.1.3 — 2020-02-03
- 0.1.2 — 2020-02-03
- 0.1.1 — 2020-02-03
- 0.1.0 — 2020-02-03
- 0.0.9 — 2020-02-03
- 0.0.8 — 2020-02-03
- 0.0.7 — 2020-02-03
- 0.0.6 — 2020-02-03
- 0.0.5 — 2020-01-21
- 0.0.4 — 2020-01-21
- 0.0.3 — 2020-01-21
- 0.0.2 — 2020-01-21
- 0.0.1 — 2020-01-21

## README

# NgxMaillerbyAz Ninh 7214997  
  
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.0.  
  
## Requirement
  
import `NgxMaillerbyAz` to your component. You can copy `import { NgxMaillerbyAzService } from 'ngx-maillerby-az';`.  
```typescript  
import { NgxMaillerbyAzService } from 'ngx-maillerby-az';...  
constructor( public maillerService: NgxMaillerbyAzService )
```  
  
## Send - Default Mail ( với mail được setup trên service )  
```typescript  
const params = {  name: '', // Tên người nhận mail  
  user: '', // Để trống nếu gửi bằng tài khoản setup trên service  
  password: '', // Để trống nếu gửi bằng tài khoản setup trên service  
  email: '', // mail nhận, nếu list mail nhận : vd: 'bar@example.com, baz@example.com, ...'  
  cc: '', // mail cc, nếu list mail cc : vd: 'bar@example.com, baz@example.com, ...'  
  bcc: '', // mail bcc, nếu list mail bcc : vd: 'bar@example.com, baz@example.com, ...'  
  email_from: '', // Tên mail gửi  
  subject: '', // Tiêu đề mail  
  text: '',    // Text mail  
  template: '', // Template mail  
};  
  
this.maillerService.sendMail(params).subscribe( response => {  
  console.log('Sendmail ok', response);  
});  
```  
  
## Send - Dynamic Mail ( với mail được setup trên service )

```typescript  
const params = {  name: '', // Tên người nhận mail  
  user: '', // Nếu để trống sẽ tự động chuyển về Send - Default Mail
  password: '', // Nếu để trống sẽ tự động chuyển về Send - Default Mail
  email: '', // mail nhận, nếu list mail nhận : vd: 'bar@example.com, baz@example.com, ...'  
  cc: '', // mail cc, nếu list mail cc : vd: 'bar@example.com, baz@example.com, ...'  
  bcc: '', // mail bcc, nếu list mail bcc : vd: 'bar@example.com, baz@example.com, ...'  
  email_from: '', // Tên mail gửi  
  subject: '', // Tiêu đề mail  
  text: '',    // Text mail  
  template: '', // Template mail  
};  
  
this.maillerService.sendMailDynamic(params).subscribe( response => {  
  console.log('Sendmail ok', response);  
});  
```

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