Documentation ¶
Index ¶
- type Mail
- type SensibleSMTPClient
- type SensibleSMTPClientOptionFunc
- func WithConnTimeout(timeout time.Duration) SensibleSMTPClientOptionFunc
- func WithImplicitTLSEnabled(enabled bool) SensibleSMTPClientOptionFunc
- func WithLogger(logger *slog.Logger) SensibleSMTPClientOptionFunc
- func WithNextHop(nextHop string) SensibleSMTPClientOptionFunc
- func WithNextHopImplicitTLS(enabled bool) SensibleSMTPClientOptionFunc
- func WithPorts(ports ...int) SensibleSMTPClientOptionFunc
- func WithResolutionRetryCount(count int) SensibleSMTPClientOptionFunc
- func WithResolutionRetryInterval(interval time.Duration) SensibleSMTPClientOptionFunc
- func WithResolver(resolver spf.DNSResolver) SensibleSMTPClientOptionFunc
- func WithTLSConfig(config *tls.Config) SensibleSMTPClientOptionFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SensibleSMTPClient ¶
type SensibleSMTPClient struct {
// contains filtered or unexported fields
}
func NewSensibleSMTPClient ¶
func NewSensibleSMTPClient(hostname string, options ...SensibleSMTPClientOptionFunc) (*SensibleSMTPClient, error)
type SensibleSMTPClientOptionFunc ¶
type SensibleSMTPClientOptionFunc func(*SensibleSMTPClient) (*SensibleSMTPClient, error)
func WithConnTimeout ¶
func WithConnTimeout(timeout time.Duration) SensibleSMTPClientOptionFunc
func WithImplicitTLSEnabled ¶
func WithImplicitTLSEnabled(enabled bool) SensibleSMTPClientOptionFunc
func WithLogger ¶
func WithLogger(logger *slog.Logger) SensibleSMTPClientOptionFunc
func WithNextHop ¶
func WithNextHop(nextHop string) SensibleSMTPClientOptionFunc
func WithNextHopImplicitTLS ¶
func WithNextHopImplicitTLS(enabled bool) SensibleSMTPClientOptionFunc
func WithPorts ¶
func WithPorts(ports ...int) SensibleSMTPClientOptionFunc
func WithResolutionRetryCount ¶
func WithResolutionRetryCount(count int) SensibleSMTPClientOptionFunc
func WithResolutionRetryInterval ¶
func WithResolutionRetryInterval(interval time.Duration) SensibleSMTPClientOptionFunc
func WithResolver ¶
func WithResolver(resolver spf.DNSResolver) SensibleSMTPClientOptionFunc
func WithTLSConfig ¶
func WithTLSConfig(config *tls.Config) SensibleSMTPClientOptionFunc
Click to show internal directories.
Click to hide internal directories.