node-email-sending 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
This is a Npm full package to send email in nodejs Through like Nodemailer , but you did not need
|
|
2
|
+
to code multi line just follow the steps
|
|
3
|
+
|
|
4
|
+
1. RUN npm install node-email-sending
|
|
5
|
+
2. require node-email-sending = ('node-email-sending');
|
|
6
|
+
3. Need to send params and all the values require to send like
|
|
7
|
+
|
|
8
|
+
4. let data ={
|
|
9
|
+
host:"XXXXXXX",
|
|
10
|
+
post:XXX,
|
|
11
|
+
secure:XXX,
|
|
12
|
+
user:XXXX,
|
|
13
|
+
password:XXXX,
|
|
14
|
+
emailto:XXXXX,
|
|
15
|
+
subject:"Hello",
|
|
16
|
+
text: XXXXXX, // plain text body
|
|
17
|
+
html:"<b>Hello world?</b>", // html body
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
and when you are going to call this package pass this data in the function like
|
|
21
|
+
|
|
22
|
+
5. node-email-sending(data);
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
Happy Coding !!
|