Skip to content

Instantly share code, notes, and snippets.

View wotmshuaisi's full-sized avatar
🌿

WANGSHIFU wotmshuaisi

🌿
View GitHub Profile
@wotmshuaisi
wotmshuaisi / smtp.go
Created August 8, 2024 07:06
Golang sending emails over port 587 with InsecureSkipVerify.
package utils
import (
"crypto/tls"
"fmt"
"net/mail"
"net/smtp"
"strings"
)