From f9b0c0933af849f6d82aa7b3af97d03f703407dd Mon Sep 17 00:00:00 2001 From: PurpleRose Date: Mon, 25 Jan 2021 14:40:47 +0000 Subject: [PATCH] Update 'MyConsumer/consumer.js' --- MyConsumer/consumer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MyConsumer/consumer.js b/MyConsumer/consumer.js index fad4e35..8486a50 100644 --- a/MyConsumer/consumer.js +++ b/MyConsumer/consumer.js @@ -8,14 +8,14 @@ var nodemailer = require('nodemailer'); var transporter = nodemailer.createTransport({ service: 'gmail', auth: { - user: 'iotprojectapi@gmail.com', - pass: 'iotproject77@' + user: 'senderEmail@gmail.com', + pass: 'senderPass' } }); //Initialize the mail options var mailOptions = { - from: 'iotprojectapi@gmail.com', - to: 'taslaz77@gmail.com', + from: 'senderEmail@gmail.com', + to: 'receiver@gmail.com', subject: 'Temperature Alert!!!', text: `The temperature text...` };