chore forwading email info

This commit is contained in:
oiov
2025-08-08 14:46:44 +08:00
parent c4e62e9322
commit 55a46c184b

View File

@@ -150,7 +150,7 @@ async function handleExternalForward(data: OriginalEmail, configs: any) {
from: `Forwarding@${sender[0].domain_name}`,
to: validEmails,
subject: data.subject ?? "No subject",
html: `${data.html ?? data.text} <br><hr><br><p style="font-size: '0.8em'; color: '#888'; font-family: 'monospace';text-align: 'center'">This email was forwarded from ${data.from}. Powered by <a href="https://wr.do">WR.DO</a>.</p>`,
html: `${data.html ?? data.text} <br><hr><p style="font-size: '12px'; color: '#888'; font-family: 'monospace';text-align: 'center'">This email was forwarded from ${data.to}. Powered by <a href="https://wr.do">WR.DO</a>.</p>`,
});
if (error) {
console.log("[Resend Error]", error);