mail

package
v1.0.0-...-a0f063d Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoginAuth

func LoginAuth(username, password string) smtp.Auth

func SendMail

func SendMail(subject, html string, fromAddress, fromName string, to, cc, bcc, attaches []string) error

Types

type Mail

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

func NewMail

func NewMail() *Mail

func (*Mail) Attach

func (r *Mail) Attach(files []string) mail.IMail

func (*Mail) Bcc

func (r *Mail) Bcc(bcc []string) mail.IMail

func (*Mail) Cc

func (r *Mail) Cc(cc []string) mail.IMail

func (*Mail) Content

func (r *Mail) Content(content mail.Content) mail.IMail

func (*Mail) From

func (r *Mail) From(from mail.From) mail.IMail

func (*Mail) Queue

func (r *Mail) Queue(mainQueue *mail.Queue) error

func (*Mail) Send

func (r *Mail) Send() error

func (*Mail) To

func (r *Mail) To(to []string) mail.IMail

type SendMailJob

type SendMailJob struct {
}

func (*SendMailJob) Handle

func (r *SendMailJob) Handle(args ...any) error

Handle Execute the job.

func (*SendMailJob) Signature

func (r *SendMailJob) Signature() string

Signature The name and signature of the job.

type ServiceProvider

type ServiceProvider struct {
}

func (*ServiceProvider) Boot

func (route *ServiceProvider) Boot()

func (*ServiceProvider) Register

func (route *ServiceProvider) Register()

Jump to

Keyboard shortcuts

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