smtp

package
v0.53.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainRecords

type DomainRecords struct {
	TLSRPT tlsrpt.Record `mapstructure:"tls-rpt"`
	DKIM   dkim.Record   `mapstructure:"dkim"`
	DMARC  dmarc.Record  `mapstructure:"dmarc"`
	MTASTS mtasts.Record `mapstructure:"mta-sts"`
	SPF    spf.Record    `mapstructure:"spf"`
}

DomainRecords holds all the DNS records required for domain authentication.

func (*DomainRecords) Render

func (r *DomainRecords) Render(data interface{}) error

type TemplatedRecord

type TemplatedRecord interface {
	Render(data interface{}) error
	Empty() bool
}

TemplatedRecord defines an interface for domain records that support templating.

Directories

Path Synopsis
Package dkim provides utilities for working with DKIM (DomainKeys Identified Mail) records.
Package dkim provides utilities for working with DKIM (DomainKeys Identified Mail) records.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL