Add .env file support
This commit is contained in:
@@ -2,15 +2,10 @@ package models
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/go-mail/mail/v2"
|
||||
)
|
||||
|
||||
var (
|
||||
defaultSender = os.Getenv("LENSLOCKED_EMAIL_FROM")
|
||||
)
|
||||
|
||||
type Email struct {
|
||||
To string
|
||||
Subject string
|
||||
|
||||
Reference in New Issue
Block a user