- Renamed SMTPProvider to Provider for consistency across messenger providers. - Updated method signatures to reflect the new Provider type. - Added extractEmailAddress function to handle email address extraction from formatted strings. - Enhanced sendEmail and sendWithTLS methods to support context and improve error handling. - Refactored message building and sending logic for better maintainability. |
||
|---|---|---|
| .. | ||
| providers | ||
| types | ||
| messenger.go | ||
| messenger_test.go | ||