Page MenuHomeSealhub

logger-mailer.ts
No OneTemporary

logger-mailer.ts

import Mailer from "./mailer";
import type { MessageData } from "./message";
export default class LoggerMailer extends Mailer {
async verify() {
return true;
}
async sendEmail({ to, subject, text }: MessageData) {
this.app.Logger.info("✉ MAIL", "Would send an email here", {
to,
subject,
text,
});
}
}

File Metadata

Mime Type
text/x-java
Expires
Tue, Dec 24, 10:29 (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
554717
Default Alt Text
logger-mailer.ts (324 B)

Event Timeline