💬 ♻️ signed mail template
This commit is contained in:
25
packages/lib/mail/signingCompleteTemplate.ts
Normal file
25
packages/lib/mail/signingCompleteTemplate.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import { NEXT_PUBLIC_WEBAPP_URL } from "../constants";
|
||||
import { Document as PrismaDocument } from "@prisma/client";
|
||||
import { baseEmailTemplate } from "./baseTemplate";
|
||||
|
||||
export const signingCompleteTemplate = (message: string) => {
|
||||
const customContent = `
|
||||
<div style="
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin: auto;
|
||||
padding-top: 14px;
|
||||
">
|
||||
<img src="${NEXT_PUBLIC_WEBAPP_URL}/images/signed_100.png" alt="Documenso Logo" style="width: 100px; display: block;">
|
||||
</div>
|
||||
|
||||
<p style="margin-top: 14px;">
|
||||
A copy of the signed document has been attached to this email.
|
||||
</p>`;
|
||||
|
||||
const html = baseEmailTemplate(message, customContent);
|
||||
|
||||
return html;
|
||||
};
|
||||
|
||||
export default signingCompleteTemplate;
|
||||
Reference in New Issue
Block a user