Przeglądaj źródła

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

Jay V 5 miesięcy temu
rodzic
commit
a0f032c9b9

+ 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