mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 15:53:02 +10:00
9 lines
390 B
TypeScript
9 lines
390 B
TypeScript
import { sendMail } from "./sendMail";
|
|
export const sendSigningRequestMail = async (recipient: any, document: any) => {
|
|
await sendMail(
|
|
recipient.email,
|
|
`Please sign ${document.title}`,
|
|
`${document.User.name} has sent you a document to sign. Click <b><a href="${process.env.NEXT_PUBLIC_WEBAPP_URL}/documents/${document.id}/sign">SIGN DOCUMENT</a></b> to sign it now.`
|
|
);
|
|
};
|