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.
9 lines
222 B
9 lines
222 B
4 years ago
|
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)
|
||
|
}
|