Add email logging and SMTP health check
- Add structured logging for email sending (success/failure) - Add HealthCheck method to EmailService interface - Extend /health endpoint to include SMTP status - Update all email service mocks to implement HealthCheck - SMTP status shows: ok, error, or disabled
This commit is contained in:
1 parent
935f742ac9
commit
568ba3b016
7 files changed
+60
-5
No files matched your search
@@ -9,4 +9,5 @@ type EmailMessage struct {
|
||||
|
||||
type EmailService interface {
|
||||
Send(message EmailMessage) error
|
||||
HealthCheck() error
|
||||
}
|
||||
Reference in new issue
Block a user