mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-19 16:27:37 +00:00
Instead of hardcoding PLAIN auth or switching on provider name, query the server's EHLO response for advertised AUTH mechanisms and pick the best one (PLAIN preferred, LOGIN as fallback). This properly handles Microsoft 365 which only advertises LOGIN, and any future server with non-standard auth support. Also adds TLS safety check to LOGIN auth (matching PlainAuth behavior) and moves auth negotiation into each send method so it happens after the connection and STARTTLS upgrade, when capabilities are accurate. |
||
|---|---|---|
| .. | ||
| concurrency_test.go | ||
| email_enhanced.go | ||
| email_enhanced_test.go | ||
| email_providers.go | ||
| email_template.go | ||
| email_template_test.go | ||
| notification_utils_test.go | ||
| notifications.go | ||
| notifications_additional_test.go | ||
| notifications_test.go | ||
| queue.go | ||
| queue_test.go | ||
| security_utils_test.go | ||
| templates_test.go | ||
| webhook_allowlist_test.go | ||
| webhook_client_test.go | ||
| webhook_enhanced.go | ||
| webhook_enhanced_test.go | ||
| webhook_retry_test.go | ||
| webhook_templates.go | ||