]> Cypherpunks repositories - gostls13.git/commit
net/smtp: use EHLO then HELO
authorRuss Cox <rsc@golang.org>
Tue, 21 Feb 2012 21:39:02 +0000 (16:39 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 21 Feb 2012 21:39:02 +0000 (16:39 -0500)
commit2110fadd12a37d0ff4e899c8d3211dacc6332c5b
treeefd04f2e350fb6eabd1d8fcfb8dcc0215cb60d56
parentfc7ed45b35d24d6d67720e5085c083041a8dd30e
net/smtp: use EHLO then HELO

Before we were using "ESMTP" in the banner as a clue,
but that is not required by the RFC and breaks mailing
to smtp.yandex.ru.

Fixes #3045.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5687066
src/pkg/net/smtp/smtp.go
src/pkg/net/smtp/smtp_test.go