mail

package
v0.0.0-...-2d0a9ff Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMTP

type SMTP interface {
	Send(to string, cc string, bcc string, subject string, body string, importance string, format string) error
}

SMTP interace for smtp package

type T

type T struct {
	Host     string
	Port     string
	UserName string
	Password string
	From     string
}

T is the interface struct type

func (T) Send

func (t T) Send(to string, cc string, bcc string, subject string, body string, importance string, format string) error

Send smtp email

Jump to

Keyboard shortcuts

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