mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
14 lines
311 B
Go
14 lines
311 B
Go
package mail
|
|
|
|
import (
|
|
"github.com/emvi/logbuch"
|
|
"github.com/muety/wakapi/models"
|
|
)
|
|
|
|
type NoopSendingService struct{}
|
|
|
|
func (n *NoopSendingService) Send(mail *models.Mail) error {
|
|
logbuch.Info("noop mail service doing nothing instead of sending password reset mail to [%v]", mail.To.Strings())
|
|
return nil
|
|
}
|