You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's hard to tell without seeing the communication between the client and the server. The client is sending something that the server does not like/supports. The only thing I can see that has been changed in net/smtp between v1.15 and v1.16 is the addition of SMTPUTF8 support but I do not think that this might cause the issue. In any case 1.15 and 1.16 are very old versions of Go. You might want to update to a newer version to not run into security vulnerabilities.
That being said, this package is not maintained anymore since the author sadly passed away. You can have a go with go-mail which supports debug logging. It can show you the communication between the client and the server, which might shed some light into what exactly the server doesn't like.
When I use go 1.16, I get an error:
When I use go 1.15, I can send normally:
My code is as follows:
What is the reason?
The text was updated successfully, but these errors were encountered: