Skip to content

Support authentication types

Compare
Choose a tag to compare
@xhit xhit released this 17 Dec 00:28
· 85 commits to master since this release

In this version is possible to specify PLAIN, LOGIN and CRAM-MD5 authentication

For this, in SMTPServer struct obtained by NewSMTPClient() function, the Authentication variable should be a authType: AuthPlain, AuthLogin, AuthCRAMMD5

If was not specified, default is AuthPlain.

Also, added compatibility to Go Modules.