Compare commits

...

2 Commits

Author SHA1 Message Date
63e0e34cb7 Messaging update and add variables 2024-09-10 15:53:51 -04:00
cf14224a8e Messaging update 2024-09-10 15:48:42 -04:00

View File

@ -3,6 +3,14 @@ const fs = require('fs');
const { spawn } = require('child_process'); const { spawn } = require('child_process');
const path = require('path'); const path = require('path');
const info = {
deptName: "IT Support",
supportEmail: "ITHelp@MaineCC.edu",
supportPhone: "(207) 453-5079"
}
const receiptFooter = `For other technical support, contact ${info.deptName} at ${info.supportEmail} or ${info.supportPhone}.`;
const mccContractor = { const mccContractor = {
name: "Contracting Company", name: "Contracting Company",
email: "helpme@contractor.com", email: "helpme@contractor.com",
@ -22,7 +30,7 @@ module.exports = {
`Student ID: ${studentId}`, `Student ID: ${studentId}`,
'', '',
'Note: the MyKV Portal uses your username to sign in, not email.', 'Note: the MyKV Portal uses your username to sign in, not email.',
'For technical support contact IT Support at ITHelp@MaineCC.edu or (207)453-5079' receiptFooter
]; ];
const infoString = infoArray.join('\n'); const infoString = infoArray.join('\n');
@ -90,11 +98,11 @@ module.exports = {
// Create the output text // Create the output text
const infoArray = [ const infoArray = [
'Kennebec Valley Community College is migrating email domains from @kvcc.me.edu to @mainecc.edu.\n', 'Kennebec Valley Community College is migrating email domains from @kvcc.me.edu to @mainecc.edu.\n',
`For support with this transition, please contact ${mccContractor.name}:`, `For support with this transition, please contact:\n${mccContractor.name}`,
`Phone: ${mccContractor.phone}`, `${mccContractor.phone}`,
`Email: ${mccContractor.email}`, `${mccContractor.email}`,
`Website:\n${mccContractor.site}\n`, `${mccContractor.site}\n`,
'For other technical support contact IT Support at ITHelp@MaineCC.edu or (207)453-5079' receiptFooter
]; ];
const infoString = infoArray.join('\n'); const infoString = infoArray.join('\n');