Skip to main content
Module

x/saur/mailer.js

a rapid web development framework for deno
Latest
import * as mod from "https://deno.land/x/saur@v0.0.1/mailer.js";

Classes

Mailers send HTML-rendered emails to users based on predefined information. They fill the same role as Controllers, except instead of handling the request/response cycle of HTTP, they render their results to an email message. Mailers use the SMTP configuration found in App.config.smtp to configure the SMTP client when sending mails, and are capable of rendering Views (and, subsequently, Templates) just like controllers can.