Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonData ¶
type CommonData struct { templates.StaticFiles AccountEmailAddress string LocalDomain string }
type Deliverer ¶
type EmailRef ¶
type Emailer ¶
type MockDeliverer ¶
type MockDeliverer interface { Deliverer Inbox(addr string) <-chan *TestMessage }
type SMTPDeliverer ¶
type SMTPDeliverer struct {
// contains filtered or unexported fields
}
func NewSMTPDeliverer ¶
func NewSMTPDeliverer(localAddr, serverAddr, sslHost string, auth smtp.Auth) *SMTPDeliverer
func (*SMTPDeliverer) Deliver ¶
func (s *SMTPDeliverer) Deliver(ctx scope.Context, ref *EmailRef) error
func (*SMTPDeliverer) LocalName ¶
func (s *SMTPDeliverer) LocalName() string
func (*SMTPDeliverer) String ¶
func (s *SMTPDeliverer) String() string
type TestDeliverer ¶
func (*TestDeliverer) Deliver ¶
func (td *TestDeliverer) Deliver(ctx scope.Context, ref *EmailRef) error
func (*TestDeliverer) Inbox ¶
func (td *TestDeliverer) Inbox(addr string) <-chan *TestMessage
func (*TestDeliverer) LocalName ¶
func (td *TestDeliverer) LocalName() string
Click to show internal directories.
Click to hide internal directories.