Page MenuHomeSealhub

logger-mailer.js
No OneTemporary

logger-mailer.js

class LoggerMailer {
constructor(app) {
this.logger = app.Logger;
}
verify() {
return "ok";
}
sendEmail({ to, subject, text, html }) {
this.logger.info({
message: "Would send an email here",
to,
subject,
text,
});
}
}
module.exports = LoggerMailer;

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 10:55 (23 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
557079
Default Alt Text
logger-mailer.js (276 B)

Event Timeline