mail

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoginAuth

func LoginAuth(username, password string) smtp.Auth

func NewEmail

func NewEmail() mail.Mail

func SendMail

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

Types

type Application

type Application struct {
}

func (*Application) Init

func (app *Application) Init() mail.Mail

type Email

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

func (*Email) Attach

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

func (*Email) Bcc

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

func (*Email) Cc

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

func (*Email) Content

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

func (*Email) From

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

func (*Email) Queue

func (r *Email) Queue(queue *mail.Queue) error

func (*Email) Send

func (r *Email) Send() error

func (*Email) To

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

type SendMailJob

type SendMailJob struct {
}

func (*SendMailJob) Handle

func (r *SendMailJob) Handle(args ...interface{}) 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