1.0.4 • Published 2 years ago

ad-mailer v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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 module available through the npm registry. Installation is done using the npm install command:

$ npm install ad-mailer

Usage

  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)
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago