Add forward email tips
This commit is contained in:
@@ -147,10 +147,10 @@ async function handleExternalForward(data: OriginalEmail, configs: any) {
|
||||
}
|
||||
|
||||
const { error } = await resend.emails.send({
|
||||
from: `forward@${sender[0].domain_name}`,
|
||||
from: `Forwarding@${sender[0].domain_name}`,
|
||||
to: validEmails,
|
||||
subject: data.subject ?? "No subject",
|
||||
html: data.html ?? data.text ?? "-",
|
||||
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>`,
|
||||
});
|
||||
if (error) {
|
||||
console.log("[Resend Error]", error);
|
||||
|
||||
@@ -442,7 +442,7 @@
|
||||
"Terms of Service": "服务条款",
|
||||
"and": "和",
|
||||
"Privacy Policy": "隐私政策",
|
||||
"Or continue with": "或使用",
|
||||
"Or continue with": "或",
|
||||
"Email": "邮箱",
|
||||
"Sign Up with Email": "使用邮箱注册",
|
||||
"Sign In with Email": "使用邮箱登录",
|
||||
|
||||
Reference in New Issue
Block a user