mail

package
v0.0.0-...-7a0fd82 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

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

func NewSender

func NewSender(cfg config.SMTPSetting) *Sender

func (Sender) SendMail

func (sender Sender) SendMail(dest []string, subject, bodyMessage string) error

func (Sender) WriteEmail

func (sender Sender) WriteEmail(dest []string, contentType, subject, bodyMessage string) string

func (*Sender) WriteHTMLEmail

func (sender *Sender) WriteHTMLEmail(dest []string, subject, bodyMessage string) string

func (*Sender) WritePlainEmail

func (sender *Sender) WritePlainEmail(dest []string, subject, bodyMessage string) string

Jump to

Keyboard shortcuts

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