Email css, faculty consolidated-table
This commit is contained in:
@@ -38,17 +38,27 @@ router.post("/", upload.single("file"), async (req, res) => {
|
||||
|
||||
// Email options
|
||||
const mailOptions = {
|
||||
from: "swdc.ate@gmail.com", // Replace with your email
|
||||
from: "SWDC Admin <swdc.ate@gmail.com>", // Replace with your email
|
||||
to: recipientEmail,
|
||||
subject: `Excel File for ${teacher}`,
|
||||
text: `Attached is the Excel file for ${teacher}.`,
|
||||
subject: `Examination Appointments for ${teacher}`,
|
||||
text: `Dear Sir/Madam,
|
||||
|
||||
Please find attached the Excel sheet regarding various appointments for the May-June 2024 Examination. Kindly find the tick mark (√) for the respective appointments.
|
||||
|
||||
Note: Kindly download the Excel sheet to view the hidden columns referring to the Scheme and other information.
|
||||
|
||||
|
||||
If you have any queries, please contact the H.O.D or the Examination In-charge.
|
||||
|
||||
Your cooperation regarding the upcoming examination duties is highly solicited.`,
|
||||
attachments: [
|
||||
{
|
||||
filename: fileName,
|
||||
path: req.file.path, // Use the uploaded file's path
|
||||
},
|
||||
{
|
||||
filename: fileName,
|
||||
path: req.file.path, // Use the uploaded file's path
|
||||
},
|
||||
],
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
try {
|
||||
// Send email
|
||||
|
||||
Reference in New Issue
Block a user