Голанг отправил электронное письмо Джордан-Врат

auth := smtp.PlainAuth("", "pingyeaa@163.com", "<Your password>", "smtp.163.com")
p, _ := email.NewPool("smtp.163.com:25", 4, auth)

e := email.NewEmail()
e.From = "Ping Ye <pingyeaa@163.com>"
e.To = []string{"xxxxxx@qq.com"}
e.Subject = "Find the big secret!"
e.Text = []byte("Ping is so handsome and intelligent~")

p.Send(e, 10*time.Second)
TP