package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.git
Documentation: pkg.go.dev
# Functions
CRAMMD5Auth returns an Auth that implements the CRAM-MD5 authentication mechanism as defined in RFC 2195.
Dial returns a new Client connected to an SMTP server at addr.
NewClient returns a new Client using an existing connection and host as a server name to be used when authenticating.
PlainAuth returns an Auth that implements the PLAIN authentication mechanism as defined in RFC 4616.
SendMail connects to the server at addr, switches to TLS if possible, authenticates with mechanism a if possible, and then sends an email from address from, to addresses to, with message msg.
# Structs
A Client represents a client connection to an SMTP server.
ServerInfo records information about an SMTP server.
# Interfaces
Auth is implemented by an SMTP authentication mechanism.