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