diff --git a/functions/mail.js b/functions/mail.js
index ab0270b..822eaae 100644
--- a/functions/mail.js
+++ b/functions/mail.js
@@ -1,15 +1,15 @@
-const fs = require("fs");
-const csv = require("csv-parser");
-const qrcode = require("qrcode");
-const nodemailer = require("nodemailer");
-const Jimp = require("jimp");
+const fs = require("fs")
+const csv = require("csv-parser")
+const qrcode = require("qrcode")
+const nodemailer = require("nodemailer")
+const Jimp = require("jimp")
-const csvFilePath = "./demo.csv";
-const outputDir = "./qrcodes";
+const csvFilePath = "./bruh.csv"
+//const outputDir = "./qrcodes";
-if (!fs.existsSync(outputDir)) {
- fs.mkdirSync(outputDir);
-}
+// if (!fs.existsSync(outputDir)) {
+// fs.mkdirSync(outputDir);
+// }
const transporter = nodemailer.createTransport({
service: "gmail",
@@ -17,85 +17,85 @@ const transporter = nodemailer.createTransport({
port: 587,
pool: true,
auth: {
- user: "iedcmec@mec.ac.in",
- pass: "pass",
+ user: "addyouremailhere",
+ pass: "addyourpasswordhere",
},
-});
+})
-let counter = 0;
+let counter = 0
const emailText = (name) => `Dear ${name},
-
-We hope you are excited about Technohack!
-As we approach the hackathon, we want to ensure that the registration process is smooth and easy for everyone.
-Please take note of the following instructions regarding registration:
-
-- You will receive a unique QR code as an attachment to this email.
-- Please report to the registration desk with your QR code.
-- Show your QR code at the counter.
-- Our volunteers will scan your QR code and you will receive a name tag with a new QR code pasted on it.
-- Please stick or keep your name tag safely throughout the hackathon duration.
-- For dinner, snacks, breakfast, and lunch, please show your QR code at the counters.
-- If you have any doubts or questions, our voluntees will be happy to assist you.
-
-We hope this information makes the registration process easier for you.
-If you have any further questions or concerns, please feel free to reach out to us.
-
-Best regards,
-
-The Technohack Team`;
+
+
+We are thrilled to extend our heartfelt congratulations to you on your well-deserved selection to our esteemed club! Your hard work, dedication, and passion have truly paid off, and it is an absolute pleasure to welcome you as a valued member of our vibrant community.
+
+
+Click on the following link to join the IEDC MEC Tech Team WhatsApp Group. This group will be used to communicate with you regarding all the activities of the club.
+
+
+