go-simple-mail
go-simple-mail copied to clipboard
Weird naming `NewSMTPClient`
NewSMTPClient should be NewSMTPServer or at least it should be documented, why this is how it is.
I confirm a mistake with names. Also see #37
I will document this in next days.
If i could add, its not just the use of the "server" variable, a function called NewSMTPClient returns a SMTPServer Perhaps the function should be changed to NewSMTPServer, although i understand the predicament with that aswell.
Maybe NewSMTPEndpoint?
Just my 2c
It's time to V3 so make all your ideas here: #53