Skip to content

ConnectTimeout and SendTimeout are type time.Duration instead int

Compare
Choose a tag to compare
@xhit xhit released this 27 Sep 22:47
· 96 commits to master since this release

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.