Skip to content

Releases: mstgnz/gomail

v1.3.0

Choose a tag to compare

@mstgnz mstgnz released this 21 Apr 19:20

Bug Fixes

  • Fixed data race in test suite when accessing mock SMTP server messages
  • Fixed pool.Close() race condition that could cause a panic on concurrent use
  • Fixed releaseConnection panicking when writing to a closed channel
  • Fixed SetRateLimit leaking goroutines when called multiple times

Improvements

  • Added Close() method to Mail for explicit resource cleanup (pool connections and rate limiter)
  • Email validation regex is now compiled once at package level instead of on every call

v1.2.0

Choose a tag to compare

@mstgnz mstgnz released this 30 Dec 14:44

Features

  • SMTP protocol support
  • Connection pooling for performance optimization
  • HTML template support with custom functions
  • File attachments (regular and streaming)
  • Asynchronous email sending
  • Rate limiting
  • TLS support (STARTTLS and Direct TLS)
  • CC and BCC recipients
  • Email preview
  • Configurable timeouts and keep-alive
  • Template caching
  • Comprehensive error handling

v1.0.0

Choose a tag to compare

@mstgnz mstgnz released this 18 Mar 16:16

sending smtp mail with go standard library