github.com/niubaoshu/goutils@v0.0.0-20180828035119-e8e576f66c2b/sendmail_test.go (about) 1 package goutils 2 3 import ( 4 "testing" 5 ) 6 7 func TestProcessSendEmail(t *testing.T) { 8 err := SendEmail([]string{"402027966@qq.com"}, "test", "test") 9 if err != nil { 10 t.Error(err) 11 } 12 }