All Versions
Latest Version
Avg Release Cycle
138 days
Latest Release
1261 days ago

Changelog History
Page 1

  • v2.6.0 Changes

    December 10, 2020

    ๐Ÿ‘Œ Support add attachment data and inline data from []bytes

    Thanks @falconandy

  • v2.5.1 Changes

    August 19, 2020

    ๐Ÿ‘Œ Support SMTPUTF8 extension to send email to addresses that contains UTF-8 characters

  • v2.5.0 Changes

    July 16, 2020
    • ๐Ÿ”ง Custom TLS Configuration
    • ๐Ÿ‘ Allow to unwrap textproto errors from smtp connection failures

    This version requires Go 1.13+

    Thanks to @codestation!

  • v2.4.0 Changes

    May 26, 2020

    ๐Ÿ›  Fix #3

  • v2.3.1 Changes

    April 11, 2020
    • ๐Ÿ›  Fixed #2
    • ๐Ÿ”จ Refactor Connect func
  • v2.3.0 Changes

    December 17, 2019

    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.

  • v2.2.2 Changes

    October 27, 2019

    iota corrections and SendTimeout improved

    • new private function sendMailProcess for send the mail. Function is called in private function send
    • improved SendTimeout , if 0 then send call directly to sendMailProcess , else, sendMailProcess is called in goroutine and return the result in channel smtpSendChannel if timeout never happens
    • change direction of iota for encryption , encoding , and contentType (this don't break anything)
  • v2.2.1 Changes

    October 16, 2019

    smtp.go: expectCode correction for RCPT for match 25x return code.

    Earlier versions match only 250.

    Match 25x return like valid code the 251 (User not local; will forward to )

    ๐Ÿ—„ 251 code is deprecated in SMTP, but who knows who still uses it.

  • v2.2.0 Changes

    October 09, 2019

    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

  • v2.1.3 Changes

    September 27, 2019

    Timeout type time.Duration instead int. Be sure you cast it!

    • ConnectTimeout and SendTimeout are type time.Duration instead int
    • ๐Ÿ†• NewSMTPClient() return by default 10 seconds for ConnectTimeout and SendTimeout and default Encryption is EncryptionNone
    • โšก๏ธ Updated readme and example_test

    PD: v2.1.2 not exists. A simple mistake.