smtpd

package
v1.19.3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package smtpd is the SMTP daemon

Index

Constants

This section is empty.

Variables

View Source
var (
	// DisableReverseDNS allows rDNS to be disabled
	DisableReverseDNS bool
)

Functions

func Listen

func Listen() error

Listen starts the SMTPD server

func LoginAuth added in v1.6.13

func LoginAuth(username, password string) smtp.Auth

LoginAuth authentication

func Send added in v1.6.0

func Send(from string, to []string, msg []byte) error

Send will connect to a pre-configured SMTP server and send a message to one or more recipients.

func Store added in v1.18.0

func Store(origin net.Addr, from string, to []string, data []byte) (string, error)

Store will attempt to save a message to the database

Types

This section is empty.

Jump to

Keyboard shortcuts

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