Browse Source

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

Jay V 3 months ago
parent
commit
a0f032c9b9
1 changed files with 3 additions and 4 deletions
  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
     const emailContent = `
-${body.message}
-
+${body.message}<br><br>
 --
-${body.name}
-${body.role}
+${body.name}<br>
+${body.role}<br>
 ${body.email}`.trim()
 
     // Send email using AWS SES