Installing a mailer package and setting up a mail channel

This commit is contained in:
2024-07-16 13:55:35 +02:00
parent bf61fb7c18
commit d40233b4ba
6 changed files with 74 additions and 1 deletions

View File

@ -1,6 +1,8 @@
package models
import "time"
import (
"time"
)
// User is the user model
type User struct {
@ -58,3 +60,11 @@ type RoomRestriction struct {
ReservationID int
RestrictionID int
}
// MailData holds an email message
type MailData struct {
To string
From string
Subject string
Content string
}