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
Tue, Dec 24, 13:57 (21 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
554965
Default Alt Text
logger-mailer.ts (330 B)

Event Timeline