mail

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mail

type Mail struct {
	smtp.Auth
	Conf MailConfig
}

func (*Mail) Close

func (m *Mail) Close() error

func (*Mail) Config

func (m *Mail) Config() any

func (*Mail) SetEntity

func (m *Mail) SetEntity()

type MailConfig

type MailConfig struct {
	Host     string
	Port     string
	From     string
	Password string
}

func (*MailConfig) Build

func (conf *MailConfig) Build() smtp.Auth

Jump to

Keyboard shortcuts

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