Documentation
¶
Index ¶
Constants ¶
View Source
const ( // TextEmail type for plain text emails TextEmail = Type("text") // HTMLEmail type for HTML emails HTMLEmail = Type("html") )
Variables ¶
View Source
var Templates map[string]string
Functions ¶
Types ¶
type Email ¶
type Email struct {
Type Type
Subject string
Body string
From string
To string
CC []string
Template ITemplate
}
Email is the email object to send
type Gmail ¶
type Gmail struct {
Config config.EmailConfig
}
Gmail is the provider to send emails thru google mail
Click to show internal directories.
Click to hide internal directories.