Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrConfigNotSet = errors.New("config not set, call email.Config() to set")
)
Functions ¶
func GetEmailBody ¶
This function will grab a canned response email body using the yodata.Email.Type
Types ¶
type EmailClient ¶
Main email client interface, any email driver must implement
func NewClient ¶
func NewClient() (EmailClient, error)
type ErrClientNotFound ¶
type ErrClientNotFound struct {
Client string
}
Custom error type used by NewClient function
func (*ErrClientNotFound) Error ¶
func (e *ErrClientNotFound) Error() string
Click to show internal directories.
Click to hide internal directories.