0.1.4 • Published 4 years ago

ngx-maillerby-az v0.1.4

Weekly downloads
56
License
-
Repository
-
Last release
4 years ago

NgxMaillerbyAz Ninh 7214997

This library was generated with Angular CLI version 7.2.0.

Requirement

import NgxMaillerbyAz to your component. You can copy import { NgxMaillerbyAzService } from 'ngx-maillerby-az';.

import { NgxMaillerbyAzService } from 'ngx-maillerby-az';...  
constructor( public maillerService: NgxMaillerbyAzService )

Send - Default Mail ( với mail được setup trên service )

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 )

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);  
});  
0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago