mail

package
v0.0.0-...-f75971f Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendMail

func SendMail(toIds []string, subject string, template string, data interface{})

SendMail sends mailbody to multiple emails

Types

type Mail

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

Mail struct

func (*Mail) BuildMessage

func (mail *Mail) BuildMessage() bytes.Buffer

BuildMessage creates mail body

type SmtpServer

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

SmtpServer struct

func (*SmtpServer) ServerName

func (s *SmtpServer) ServerName() string

ServerName concatinates host and port

Jump to

Keyboard shortcuts

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