MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / send

Method send

apps/web/mailers/ResetPasswordMailer.ts:11–19  ·  view source on GitHub ↗
({ host, to, token }: Options)

Source from the content-addressed store, hash-verified

9
10export default class ResetPasswordMailer {
11 static async send({ host, to, token }: Options) {
12 const url = new URL(`/reset-password?token=${token}`, host).toString();
13 return ApplicationMailer.send({
14 to,
15 subject: 'Linen.dev - Reset your password',
16 text: `Reset your password here: ${url}`,
17 html: view({ url }),
18 });
19 }
20}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected