mailsend

package
v0.0.0-...-73dfd4b Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendMail

func SendMail(email Mail) (bool, error)

SendMail sends an email based on the data in Mail passed in

Types

type Mail

type Mail struct {
	From       string
	Recipients string
	Data       []byte
	Username   string
	Password   string
	SMTPServer string
	SMTPPort   string
}

Mail contains data about email and user auth

Jump to

Keyboard shortcuts

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