diff options
| author | Johnny Luo <johnnyluo1980@gmail.com> | 2017-11-24 21:21:44 +1100 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-02-13 18:38:05 +0000 |
| commit | 701fa1c5ed8df2cde01487729c0e29c924e08050 (patch) | |
| tree | 3532792aeafecfec038c498bcb337b9e4e46c65a /src/path | |
| parent | e4bde0510465eecd4c8a8293418b1cbed1e0e623 (diff) | |
| download | go-701fa1c5ed8df2cde01487729c0e29c924e08050.tar.xz | |
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>
Diffstat (limited to 'src/path')
0 files changed, 0 insertions, 0 deletions
