@plasma-platform/service-mailer
v1.3.0
Published
Mailer Service API
Downloads
9
Readme
Full documentation
install:npm i @plasma-platform/service-mailer -S
Short documentation
Table of Contents
MailerService
Mailer Service API that you may adopt for your needs
Parameters
url
string service url
messages
Object with class service messages
Type: Object
sendMail
Send mail
Parameters
Examples
Send mail
(async () => {
const MailerService = new MailerService(url);
const result = await MailerService.sendMail('api-empty-checkout-free-ebook', '[email protected]');
})();
Returns Object send email result