In this blog, we’ll look at different methods to send an email with Go, First we will explore inbuilt smtp package, then we will move to use a popular package Gomail and finally we will send HTML emails using custom templates.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
Can you provide an example for Outlook? It uses the STARTTLS extension. I've not been able to find a good example:
SMTP server name smtp-mail.outlook.com
SMTP port 587
SMTP encryption method STARTTLS