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, 2019In 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, 2019iota 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, 2019smtp.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, 2019This 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, 2019Timeout 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.