commit | 701fa1c5ed8df2cde01487729c0e29c924e08050 | [log] [tgz] |
---|---|---|
author | Johnny Luo <johnnyluo1980@gmail.com> | Fri Nov 24 21:21:44 2017 +1100 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Tue Feb 13 18:38:05 2018 +0000 |
tree | 3532792aeafecfec038c498bcb337b9e4e46c65a | |
parent | e4bde0510465eecd4c8a8293418b1cbed1e0e623 [diff] |
net/smtp: return error from SendMail when required AUTH not available Return an error if an Auth is passed to SendMail but the server does not support authentication. Fixes #22145 Change-Id: I49a37259c47bbe5145e30fa8a2d05444e60cb378 Reviewed-on: https://go-review.googlesource.com/79776 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of hundreds of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.