go-simple-mail v2.2.0 Release Notes

Release Date: 2019-10-09 // over 4 years ago
  • 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