Documentation ¶
Index ¶
Constants ¶
View Source
const MaxHangingMailSends = 20
Variables ¶
This section is empty.
Functions ¶
func NewConsumer ¶
func WrapWithTemplate ¶
Types ¶
type AuthUserPass ¶
type Config ¶
type Config struct { Host string Port int Domain string From string TLS bool AuthType AuthType AuthUserPass AuthUserPass NoNoop bool }
func ConfigFromSMTPConfig ¶
func ConfigFromSMTPConfig(config chconfig.SMTPConfig) (Config, error)
type ContentType ¶
type ContentType string
ContentType represents a content type for the Msg
const ( ContentTypeTextPlain ContentType = "text/plain" ContentTypeTextHTML ContentType = "text/html" )
List of common content types
func (ContentType) Valid ¶
func (t ContentType) Valid() error
type Mailer ¶
type ReceivedMail ¶
func (ReceivedMail) GetContent ¶
func (r ReceivedMail) GetContent() string
func (ReceivedMail) GetContentType ¶
func (r ReceivedMail) GetContentType() string
func (ReceivedMail) GetSubject ¶
func (r ReceivedMail) GetSubject() string
func (ReceivedMail) GetTo ¶
func (r ReceivedMail) GetTo() []string
Click to show internal directories.
Click to hide internal directories.