mail

package
v0.0.0-...-06dd36e Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmtpConfig

type SmtpConfig struct {
	Name     string
	Username string
	Password string
	Hostname string
	Port     int
}

func (*SmtpConfig) Address

func (mc *SmtpConfig) Address() string

func (*SmtpConfig) Auth

func (mc *SmtpConfig) Auth() smtp.Auth

func (*SmtpConfig) From

func (mc *SmtpConfig) From() string

func (*SmtpConfig) SendAttachBCC

func (mc *SmtpConfig) SendAttachBCC(bcc []string, subject string, message string, files []string)

run sendAttachbcc on another goroutine

func (*SmtpConfig) SendBCC

func (mc *SmtpConfig) SendBCC(bcc []string, subject string, message string)

run sendbcc on another goroutine

func (*SmtpConfig) SendSyncAttachBCC

func (mc *SmtpConfig) SendSyncAttachBCC(bcc []string, subject string, message string, files []string) error

SendSyncAttachBCC send synchronous with attachment and BCC

func (*SmtpConfig) SendSyncBCC

func (mc *SmtpConfig) SendSyncBCC(bcc []string, subject string, message string) error

SendSyncBCC send BCC using synchronous approach

Jump to

Keyboard shortcuts

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