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

Class ApplicationMailer

apps/web/mailers/ApplicationMailer.ts:14–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14class ApplicationMailer {
15 static async send(options: Options) {
16 if (!process.env.EMAIL_HOST) {
17 return;
18 }
19 return transporter.sendMail({
20 ...options,
21 from: NOREPLY_EMAIL,
22 });
23 }
24}
25
26export default ApplicationMailer;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected