Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type EmailConfig ¶
type EmailConfig struct { From string SMTPLogin *SMTPLogin SEScredentials *SESCredentials }
func NewSESConfig ¶
func NewSESConfig(from string, region string, accessKey string, secretKey string) *EmailConfig
func NewSMTPConfig ¶
func NewSMTPConfig(from string, host string, user string, pass string) *EmailConfig
type EmailSender ¶
type Emailer ¶
type Emailer struct {
// contains filtered or unexported fields
}
func NewEmailer ¶
func NewEmailer(conf *EmailConfig) *Emailer
func (*Emailer) SendEmailAdv ¶
type SESCredentials ¶
Click to show internal directories.
Click to hide internal directories.