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
Mon, Dec 23, 04:57 (18 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
554717
Default Alt Text
logger-mailer.ts (324 B)

Event Timeline