mirror of
https://github.com/muety/wakapi.git
synced 2025-12-05 22:20:24 -08:00
14 lines
291 B
Go
14 lines
291 B
Go
package mail
|
|
|
|
import (
|
|
"github.com/muety/wakapi/models"
|
|
"log/slog"
|
|
)
|
|
|
|
type NoopSendingService struct{}
|
|
|
|
func (n *NoopSendingService) Send(mail *models.Mail) error {
|
|
slog.Info("noop mail service doing nothing instead of sending password reset mail", "to", mail.To.Strings())
|
|
return nil
|
|
}
|