mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-20 18:23:47 +00:00
827a8b4d37
Add comprehensive tests for EnhancedEmailManager covering: - Rate limiting (exceeds limit, resets after minute, concurrency, negative values) - Provider username defaults (SendGrid, SparkPost, Resend, Postmark) - TLS routing (TLS, StartTLS, plain connections) - Retry logic (retries on failure, rate limit prevents retry) - Connection error handling for sendTLS, sendStartTLS, sendPlain This is the first test file for email_enhanced.go which previously had 0% coverage on sendTLS, sendStartTLS, and TestConnection functions.