Skip to main content
Module

x/denomailer/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.5.0/mod.ts";

Config for a mail

Properties

to: mailList
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