Skip to content

Re-factored and bug fixes

Compare
Choose a tag to compare
@xhit xhit released this 09 Oct 19:04
· 91 commits to master since this release

This version break your code!

  • SetBody and AddAlternative receive contentType var type instead string. Earlier the string were text/html and text/plain, now you need call mail.TextHTML or mail.TextPlain

  • Code refactored for make all smtp and auth functions private. If you use it or you need a function in these files, pull a request for add it to email.go if need it.

  • Added header.go and test, now you don't need download other dependencies.

  • Comments updated in al files

  • Updated readme and test