add email sender and send email with password

This commit is contained in:
2026-06-29 23:34:09 +07:00
parent 7806061313
commit 4d9b73cb34
4 changed files with 129 additions and 1 deletions
@@ -0,0 +1,13 @@
package email_sender
import "context"
type Message struct {
To string
Subject string
Body string
}
type IEmailSender interface {
Send(ctx context.Context, message Message) error
}