Skip to content

Commit ed0fd44

Browse files
author
gevic
committed
Comments
1 parent abc896b commit ed0fd44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nodeMailer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ var transport = mail.createTransport({
1515
// Now mail structure
1616
var mailStructure = {
1717
from: 'email@gmail.com',
18-
to: 'reciever@anything.com',
18+
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?'
2121
};
2222

23+
2324
// Everything is ready, just send the mail
2425
transport.sendMail(function (err, info){
2526
if (err){

0 commit comments

Comments
 (0)