Преглед изворни кода

ignore: fix email formatting to ensure proper line breaks between message and signature

Jay V пре 3 месеци
родитељ
комит
a0f032c9b9
1 измењених фајлова са 3 додато и 4 уклоњено
  1. 3 4
      packages/console/app/src/routes/api/enterprise.ts

+ 3 - 4
packages/console/app/src/routes/api/enterprise.ts

@@ -25,11 +25,10 @@ export async function POST(event: APIEvent) {
 
 
     // Create email content
     // Create email content
     const emailContent = `
     const emailContent = `
-${body.message}
-
+${body.message}<br><br>
 --
 --
-${body.name}
-${body.role}
+${body.name}<br>
+${body.role}<br>
 ${body.email}`.trim()
 ${body.email}`.trim()
 
 
     // Send email using AWS SES
     // Send email using AWS SES