Adding go-mail package instead of using internal go package. Defining a mailer package to send our emails.

This commit is contained in:
Maxime Delporte
2025-11-30 17:02:48 +01:00
parent 72503a55ff
commit 68e606976f
4 changed files with 115 additions and 0 deletions

2
go.mod
View File

@@ -3,8 +3,10 @@ module greenlight.craftr.fr
go 1.25.1
require (
github.com/go-mail/mail/v2 v2.3.0 // indirect
github.com/julienschmidt/httprouter v1.3.0 // indirect
github.com/lib/pq v1.10.9 // indirect
golang.org/x/crypto v0.45.0 // indirect
golang.org/x/time v0.14.0 // indirect
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
)