Commit 701fa1c5 authored by Johnny Luo's avatar Johnny Luo Committed by Brad Fitzpatrick
Browse files

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: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent e4bde051
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment