Page MenuHomeSealhub

logger-mailer.ts
No OneTemporary

logger-mailer.ts

import Mailer from "./mailer.js";
import type { MessageData } from "./message.js";
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
Mon, Dec 23, 10:55 (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
554965
Default Alt Text
logger-mailer.ts (330 B)

Event Timeline