[go] Best way use smtp via Proxy

Well, at first sight your example seems to not support TLS and that could be a good reason to won’t work with Gmail. Search for another example, are many on the internet.

https://www.google.com/search?q=golang+gmail+sender