emailSmtp

package
v0.0.0-...-dd0c161 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMTPAdapter

type SMTPAdapter struct {
	SMTPURL      string
	SMTPPort     int
	SMTPUser     string
	SMTPPassword string
}

SMTPAdapter is the default email Adapter. Using basic SMTP

func New

func New(url string, port int, user string, password string) *SMTPAdapter

New creates a new SMTP adapter

func (*SMTPAdapter) SendEmail

func (adapter *SMTPAdapter) SendEmail(email *waechter.Email) error

SendEmail is used to implement other messages and notifications to a user.

Jump to

Keyboard shortcuts

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