go-gomail / gomail

The best way to send emails in Go.
MIT License
4.3k stars 570 forks source link

There is no NewDialer method #117

Closed nmsobri closed 6 years ago

nmsobri commented 6 years ago
gomail.NewDialer("smtp.example.com", 587, "user", "pass")

Unresolve reference to NewDialer.I can only call :

gomail.NewPlainDialer("smtp.example.com", 587, "slier81", "123456")

Is the documentation deprecated? Or am I doing something wrong? Please advise

ghost commented 6 years ago

For some reason you are getting the V1 branch which doesn't contain the new "gomail.NewDialer" method

pedromorgan commented 6 years ago

Note: https://github.com/go-gomail/gomail/issues/108

nmsobri commented 6 years ago

thx @pedromorgan