Repository navigation
Releases: mstgnz/gomail
Releases · mstgnz/gomail
Release list
v1.3.0
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
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