New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net/smtp: Truncated multiline error response from smtp.SendMail #5700
Labels
Comments
That reply is from smtp.gmail.com. The test program I posted at http://play.golang.org/p/ARHzvn2VHz can reproduce the issue. It opens an SMTP connection to smtp.gmail.com. |
This issue was closed by revision 64441d6. Status changed to Fixed. |
Issue #6354 has been merged into this issue. |
Comment 6 by jeff@heroku.com: this is still a problem when closing the data stream. Here is where the data stream is closed: https://github.com/jnwhiteh/golang/blob/master/src/net/smtp/smtp.go#L251 It makes a call to d.c.Text.ReadResponse(250) but textproto is setup such that it won't return continued data in an error case. https://github.com/jnwhiteh/golang/blob/master/src/net/textproto/reader.go#L251 Is there a reason textproto doesn't continue reading the error message? |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by everton.marques:
The text was updated successfully, but these errors were encountered: