Versions in this module Expand all Collapse all v0 v0.0.1 Jan 30, 2024 Changes in this version + type BodyType int + const HTML + const PlainText + type Mail struct + func New(senderAddress, smtpHostAddress string) *Mail + func (m *Mail) AddReceivers(addresses ...string) + func (m *Mail) AuthenticateSMTP(identity, userName, password, host string) + func (m *Mail) BodyFormat(format BodyType) + func (m Mail) Send(ctx context.Context, subject, message string) error