You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-fly/tools/smtp_test.go

9 lines
222 B

package tools
import "testing"
func TestSendSmtp(t *testing.T) {
body := "<a href=''>hello</a>"
SendSmtp("smtp.sina.cn:25", "taoshihan1@sina.com", "382e8a5e11cfae8c", []string{"taoshihan1@sina.com"}, "123456", body)
}