microserversendform

1.1.0 • Public • Published

To install : npm install microserversendform

To use : go to config.json -> cd node_module/microserversendform/conf/conf.json add node node_module/microserversendform/index.js

Param mailjet : "apiKey" is your api key mailjet. "secretKey" is your secret key mailjet. "activate" true if you want send mail, else false "fromExemple" have to match the "from" param in the body of your request. You can create many object, it's usefull when you many Contact Form. "recipientsEmail" it's an array, you add object there is no limit. You can check the mailjet send apiv 3.1 documentation : https://dev.mailjet.com/email/guides/send-api-v31/

Param slack : "token" is your slack Token. Check slack documentation : https://api.slack.com/methods/chat.postMessage "activate" true if you want send message on slack channel, else false, "fromExemple" have to match the "from" param in the body of your request. You can create many object, it's usefull when you many Contact Form. "channel" is the channel name on your slack "username" is the name which will appear on your slack channel

Readme

Keywords

none

Package Sidebar

Install

npm i microserversendform

Weekly Downloads

5

Version

1.1.0

License

ISC

Unpacked Size

7.13 kB

Total Files

7

Last publish

Collaborators

  • lambda00