send-client
/
1.0.1-master-719b906c4dac6e580c443b632a6f988ce10f1db2.0
send-client 1.0.1-master-719b906c4dac6e580c443b632a6f988ce10f1db2.0
Install from the command line:
Learn more about npm packages
$ npm install @node-mail-broadcast/send-client@1.0.1-master-719b906c4dac6e580c443b632a6f988ce10f1db2.0
Install via package.json:
"@node-mail-broadcast/send-client": "1.0.1-master-719b906c4dac6e580c443b632a6f988ce10f1db2.0"
About this version
- NodeJS endpoint for sending emails with this framework
(more coming soon^TM)
import {EmailSenderClient} from "./index";
const emailClient = new EmailSenderClient(["amqp://url-to-broker"], "emails", false);
emailClient.connect().then(console.log, console.log);
//to send an email
emailClient.sendEmail({
templateName: "some-name-from-database",
content: {
placeholder1: "value1",
placeholder2: "value2"
}
}).then(console.log, console.log)
© 2022
Details
- send-client
- node-mail-broadcast
- over 2 years ago
- MIT
- 11 dependencies
Assets
- send-client-1.0.1-master-719b906c4dac6e580c443b632a6f988ce10f1db2.0-npm.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0
Recent versions
View all- 1.0.1-master-c710850097853d1a48f91df368ac3f6b4709c7cd.0
- 1.0.1-master-7c212342d975c4ba11e9d98cf01f3988c0fdd22c.0
- 1.0.1-master-70ad4daaf021857db8fed9d725910f9147d89ea6.0
- 1.0.1-master-20c45f6c2c48ac90e3545d0164624c109a5bdd7c.0
- 1.0.1-master-5779408d24de7dd730fb655ad3098bda9d7fd1ec.0
- 1.0.1-master-719b906c4dac6e580c443b632a6f988ce10f1db2.0
- 1.0.1-master-f114b6860cabc79d38522252bae6834640fdb861.0