Versions in this module Expand all Collapse all v5 v5.0.0 Dec 23, 2024 Changes in this version + type Mail interface + Login func(username, password string) + Send func(frAddr, toAddr, frName, toName, subject, content string, optfs ...SendOption) (err error) + type MailT struct + func NewMail(host string, port int) *MailT + func (m *MailT) BuildMessage(msg string) string + func (m *MailT) Login(username, password string) + func (m *MailT) Send(frAddr, toAddr, frName, toName, subject, content string, optfs ...SendOption) (err error) + type SendOption func(*mailSendOpt) + func WithMailSendDialer(dialerFact func(host string, port int, username, passwd string) Sender) SendOption + type Sender interface + DialAndSend func(m ...*gomail.Message) error Other modules containing this package github.com/Laisky/go-utils/v2 github.com/Laisky/go-utils/v3 github.com/Laisky/go-utils/v4