package email
import "github.com/labstack/gommon/email"
Index ¶
Types ¶
type Email ¶
type Email struct { Auth smtp.Auth Header map[string]string Template *template.Template // contains filtered or unexported fields }
func New ¶
func (*Email) Send ¶
type File ¶
type File struct { Name string `json:"name"` Type string `json:"type"` Content string `json:"content"` }
type Message ¶
type Message struct { ID string `json:"id"` From string `json:"from"` To string `json:"to"` CC string `json:"cc"` Subject string `json:"subject"` Text string `json:"text"` HTML string `json:"html"` TemplateName string `json:"template_name"` TemplateData interface{} `json:"template_data"` Inlines []*File `json:"inlines"` Attachments []*File `json:"attachments"` // contains filtered or unexported fields }
Source Files ¶
- Version
- v0.2.0
- Published
- Mar 12, 2017
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- now –
Tools for package owners.