mail

package
v0.0.0-...-83fb53a Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 6 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 {
	Domain      string
	Host        string
	Port        int
	Username    string
	Password    string
	Encryption  string
	FromAddress string
	FromName    string
}

func (*Mail) SendSmtpMessage

func (m *Mail) SendSmtpMessage(msg Message) error

type Message

type Message struct {
	From        string
	FromName    string
	To          string
	Subject     string
	AttachMents []string
	Data        any
	DataMap     map[string]any
	IsResetPass bool
}

Jump to

Keyboard shortcuts

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