email

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoginAuth

func LoginAuth(username, password string) smtp.Auth

Types

type EmailSender

type EmailSender struct {
	UserName string
	Password string
	Addr     string
	Name     string
}

func (EmailSender) SendEmail

func (sender EmailSender) SendEmail(toAddress string, subject string, body string, use_plain bool)

Jump to

Keyboard shortcuts

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