email

package
v0.0.0-...-3927467 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmailValid

func IsEmailValid(email string) bool

Types

type Mail

type Mail interface {
	SendMail(ctx context.Context, address []string, subject string, body string) bool
}

type MailGoMail

type MailGoMail struct{}

func InitMailGoMail

func InitMailGoMail() *MailGoMail

func (*MailGoMail) SendMail

func (m *MailGoMail) SendMail(ctx context.Context, address []string, subject string, body string) bool

type MailStd

type MailStd struct{}

func (*MailStd) SendMail

func (m *MailStd) SendMail(ctx context.Context, address []string, subject string, body string) bool

Jump to

Keyboard shortcuts

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