Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoRecipients = errors.New("sms4go/email: no recipients") ErrMonitorUnsupported = errors.New("sms4go/email: IMAP monitoring requires an IMAP client dependency") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(config SMTPConfig, blacklist Blacklist) *Client
type IMAPConfig ¶
type Monitor ¶
type Monitor func(MonitorMessage) bool
type MonitorMessage ¶
type MonitorService ¶
type MonitorService struct {
// contains filtered or unexported fields
}
func NewMonitorService ¶
func NewMonitorService(config IMAPConfig, monitor Monitor) *MonitorService
func (*MonitorService) Start ¶
func (m *MonitorService) Start() error
func (*MonitorService) Stop ¶
func (m *MonitorService) Stop()
Click to show internal directories.
Click to hide internal directories.