Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConnectionPlain = "plain" ConnectionStartTLS = "starttls" ConnectionTLS = "tls" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutgoingServer ¶
type OutgoingServer struct { AuthMethod config.RelayAuthMethod ConnectionType config.RelayConnectionType FromEmail string Host string Password string Port int Username string VerifyTLS bool }
func NewOutgoingServer ¶
func NewOutgoingServer(conf config.RelayOutgoingServer) (*OutgoingServer, error)
Click to show internal directories.
Click to hide internal directories.