Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NoIdentity = ""
)
Functions ¶
This section is empty.
Types ¶
type SMTPAuthConfig ¶
type SMTPSender ¶
type SMTPSender struct {
// contains filtered or unexported fields
}
func NewSMTPSender ¶
func NewSMTPSender(config SMTPAuthConfig) *SMTPSender
func (*SMTPSender) Alone ¶
func (s *SMTPSender) Alone() error
Alone send single email for distinct service
func (*SMTPSender) WithMessage ¶
func (s *SMTPSender) WithMessage(msg []byte) *SMTPSender
func (*SMTPSender) WithReceiver ¶
func (s *SMTPSender) WithReceiver(addr ...string) *SMTPSender
Click to show internal directories.
Click to hide internal directories.