#smtp
package main
import (
"log"
"github.com/toolkits/smtp"
)
func main() {
//s := smtp.New("smtp.exmail.qq.com:25", "[email protected]", "password")
s := smtp.NewSMTP("smtp.exmail.qq.com:25", "[email protected]", "password",false,false,false)
log.Println(s.SendMail("[email protected]", "[email protected];[email protected]", "这是subject", "这是body,<font color=red>red</font>"))
}