2
0
forked from drew/smtprelay

Update documentation for SMTPS support (outgoing)

This commit is contained in:
Bernhard Froehlich
2018-12-26 21:05:59 +00:00
parent 83b558239a
commit 3c1d683edc
2 changed files with 3 additions and 3 deletions

View File

@@ -297,7 +297,8 @@ func (c *Client) Data() (io.WriteCloser, error) {
var testHookStartTLS func(*tls.Config) // nil, except for tests
// SendMail connects to the server at addr, switches to TLS if
// SendMail connects to the server at addr with TLS when port 465 or
// smtps is specified or unencrypted otherwise and switches to TLS if
// possible, authenticates with the optional mechanism a if possible,
// and then sends an email from address from, to addresses to, with
// message msg.