Versions in this module Expand all Collapse all v1 v1.0.1 Nov 12, 2024 Changes in this version + const FailApplySendParams + const FailAuthType + const FailAuthenticating + const FailCloseDataStream + const FailClosingSession + const FailConnectToServer + const FailCreateSMTPClient + const FailEnableStartTLS + const FailGetSMTPClient + const FailHTMLHeader + const FailHandshake + const FailMessageRaw + const FailMessageTemplate + const FailMultiEndHeader + const FailOpenDataStream + const FailPlainHeader + const FailSendRecipient + const FailSetRecipient + const FailSetSender + const FailUnknown + const FailWriteHeaders + const ImplicitTLSPort + const Scheme + var AuthTypes = &authTypeVals + var EncMethods = &encMethodVals + func OAuth2Auth(username, accessToken string) smtp.Auth + type Config struct + Auth authType + ClientHost string + Encryption encMethod + FromAddress string + FromName string + Host string + Password string + Port uint16 + Subject string + ToAddresses []string + UseHTML bool + UseStartTLS bool + Username string + func (config *Config) Clone() Config + func (config *Config) FixEmailTags() + func (config *Config) GetURL() *url.URL + func (config *Config) SetURL(url *url.URL) error + func (config Config) Enums() map[string]types.EnumFormatter + type Service struct + func (service *Service) Initialize(configURL *url.URL, logger types.StdLogger) error + func (service *Service) Send(message string, params *types.Params) error