net/smtp: add optional Hello method
Add a Hello method that allows clients to set the server sent in the EHLO/HELO exchange; the default remains localhost. Based on CL 5555045 by rsc. Fixes #4219. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6946057
Showing
Please
register
or
sign in
to comment