mailer

package
v0.0.0-...-8c2001a Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuilder

func NewBuilder(app any) (etypes.ModuleBuilder, error)

Types

type ArgOptions

type ArgOptions struct {
	Host     string `json:"host,omitempty"`
	Port     int    `json:"port,omitempty"`
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty"`
}

type Mailer

type Mailer struct {
	// contains filtered or unexported fields
}

func (*Mailer) Close

func (m *Mailer) Close() error

func (*Mailer) Handle

func (m *Mailer) Handle(method string, args xtypes.LazyData) (xtypes.LazyData, error)

func (*Mailer) Send

func (m *Mailer) Send(opts *sendOpts) error

type MailerBuilder

type MailerBuilder struct {
	// contains filtered or unexported fields
}

func (MailerBuilder) Instance

func (l MailerBuilder) Instance(opts etypes.ModuleOptions) (etypes.Module, error)

Jump to

Keyboard shortcuts

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