Setting e-mail web address in email module.
This commit is contained in:
@@ -20,7 +20,12 @@ const resend = (() => {
|
||||
})();
|
||||
|
||||
export async function renderEmail(template, { to, subject, props }) {
|
||||
const { html, text } = await emailTemplates.render(`${template}.vue`, { props });
|
||||
const { html, text } = await emailTemplates.render(`${template}.vue`, {
|
||||
props: {
|
||||
...props,
|
||||
address: config.web.address,
|
||||
},
|
||||
});
|
||||
|
||||
return {
|
||||
from: config.email.from,
|
||||
|
||||
Reference in New Issue
Block a user