Does anyone know to send mail encrypted in GO?

Sumit Sharma Responses • 2 Posted • Jun 12 2019
So I can send mail just fine, this copy pasta works quite well:

I'm even sending it through smtp with ssl -
smtpdm-ap-southeast-1.aliyun.com:465

the problem is that I get that classic "blahblahblah did not encrypt this message" in my Gmail.

Does anyone know how to solve this? How do I encrypt my email in golang to stop this message? Is this even a golang related problem? I think this is partly why my emails are being marked as spam instantly by Gmail. Thanks.

Write your response...

On a mission to build Next-Gen Community Platform for Developers