Skip to content

Commit 94ffcf5

Browse files
author
gevic
committed
HTML formatted text
1 parent ed0fd44 commit 94ffcf5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nodeMailer.js

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ var mailStructure = {
1818
to: 'reciever@anything.com', // For multiple recievers, write the emails comma seperated for the key "to:"
1919
subject: 'Checking Nodemailer',
2020
text: 'You got the meassage?'
21+
// To send html formatted text, even though it has its cons more than pros
22+
html: '<h1>Welcome</h1><p>That was easy!</p>'
2123
};
2224

2325

0 commit comments

Comments
 (0)