Documentation
¶
Index ¶
- type Config
- func (config *Config) Address() string
- func (config *Config) From() string
- func (config *Config) Host() string
- func (config Config) LogValue() slog.Value
- func (config *Config) Password() string
- func (config *Config) Port() int
- func (config *Config) Username() string
- func (config *Config) ValidateTLS() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is a type that defines required data for connecting to a SMTP server
func (*Config) Address ¶ added in v0.0.13
Address returns the SMTP server address in "host:port" form
func (*Config) ValidateTLS ¶ added in v0.0.13
ValidateTLS returns whether TLS certificates are validated
Click to show internal directories.
Click to hide internal directories.