mailerstub

package
v1.0.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2021 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 MailerStub

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

func NewMailerStub

func NewMailerStub() *MailerStub

func (*MailerStub) Init

func (ms *MailerStub) Init(opts *mailer.InitOptions)

func (*MailerStub) LastSentFromHTML

func (ms *MailerStub) LastSentFromHTML() *SendFromHtmlStackItem

func (*MailerStub) LastSentFromTemplate

func (ms *MailerStub) LastSentFromTemplate() *SendFromTemplateStackItem

func (*MailerStub) SendFromHTML

func (ms *MailerStub) SendFromHTML(html string, opts *mailer.SendOptions) error

func (*MailerStub) SendFromTemplate

func (ms *MailerStub) SendFromTemplate(template string, opts *mailer.SendOptions) error

func (*MailerStub) SentFromHTMLAt

func (ms *MailerStub) SentFromHTMLAt(idx int) *SendFromHtmlStackItem

func (*MailerStub) SentFromTemplateAt

func (ms *MailerStub) SentFromTemplateAt(idx int) *SendFromTemplateStackItem

type SendFromHtmlStackItem

type SendFromHtmlStackItem struct {
	Html string
	Opts *mailer.SendOptions
}

type SendFromTemplateStackItem

type SendFromTemplateStackItem struct {
	Template string
	Opts     *mailer.SendOptions
}

Jump to

Keyboard shortcuts

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