Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/denomailer/config/mail/mod.ts>SendConfig

A SMTP-Client implementation for deno (to send mails!)
Go to Latest
interface SendConfig
import { type SendConfig } from "https://deno.land/x/denomailer@1.3.0/config/mail/mod.ts";

Config for a mail

Properties

optional
cc: mailList
optional
bcc: mailList
from: string
optional
date: string
subject: string
optional
content: string
optional
mimeContent: Content[]
optional
html: string
optional
inReplyTo: string
optional
replyTo: string
optional
references: string
optional
priority: "high" | "normal" | "low"
optional
attachments: Attachment[]
optional
internalTag: string | symbol

type of mail for example registration or newsletter etc. allowes preprocessors to hande different email types

optional
headers: Headers