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

Method send

apps/web/mailers/InviteToJoinMailer.ts:12–23  ·  view source on GitHub ↗
({ inviterName, communityName, host, to }: Options)

Source from the content-addressed store, hash-verified

10
11export default class InviteToJoinMailer {
12 static async send({ inviterName, communityName, host, to }: Options) {
13 const url = `${host}/signup?email=${encodeURIComponent(to)}`;
14 const content = `Join your team ${communityName} on Linen.dev and start collaborating. ${host}/signup?email=${encodeURIComponent(
15 to
16 )}`;
17 return ApplicationMailer.send({
18 to,
19 subject: `${inviterName} invited you to join the ${communityName} community on linen.dev`,
20 text: content,
21 html: view({ communityName, inviterName, url }),
22 });
23 }
24}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected