sender

package
v0.0.0-...-a9dd071 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2015 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SMTPSender = &Sender{
	Name: "smtp",
	Run:  sendEmailBySMTP,
}
View Source
var SendcloudSender = &Sender{
	Name: "sendcloud",
	Run:  SendEmailBySendcloud,
}

Functions

func SendEmailBySendcloud

func SendEmailBySendcloud(data string) (l model.EmailLog)

func SendToMail

func SendToMail(to, subject, body string) error

Types

type Sender

type Sender struct {
	Name string
	Run  func(string) model.EmailLog
}

Jump to

Keyboard shortcuts

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