Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSMTPNoSet = errors.New(`SMTP is not set`) ErrSenderNoSet = errors.New(`The sender address is not set`) ErrRecipientNoSet = errors.New(`The recipient address is not set`) ErrSendChannelTimeout = errors.New(`SendMail: The sending channel timed out`) QueueSize = 50 )
View Source
var Callbacks = []func(*Config, error){}
Functions ¶
func AddCallback ¶
func SMTPClient ¶
func SMTPClient(conf *mail.SMTPConfig) *mail.SMTPClient
Types ¶
Click to show internal directories.
Click to hide internal directories.