diff --git a/api/_emailTemplates.js b/api/_emailTemplates.js index 89eb995..f3266fa 100644 --- a/api/_emailTemplates.js +++ b/api/_emailTemplates.js @@ -333,3 +333,247 @@ function escapeHtml(str) { .replace(/"/g, """) .replace(/'/g, "'"); } + + +export function getSupportAutoReplyHtml(name) { + const safeName = name ? escapeHtml(name) : 'Valued Contact'; + const tpl = ` + + + + + + + + Thank You for Contacting Aira Group of Technology + + + + + + +
+ Your message has been safely received by the executive desk of Founder Er. Adam Eehan & Co-Founder Anandhakrishnan H. We will respond within 24 business hours. +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +`; + return tpl.replace('[Name / Valued Contact]', safeName); +}