added contact info support and the code for sending a password reminder

This commit is contained in:
2025-10-01 23:02:33 -06:00
parent 2acac513f8
commit 1952b34cce
9 changed files with 177 additions and 13 deletions
+2
View File
@@ -13,6 +13,7 @@ package email
import (
"fmt"
"git.erbosoft.com/amy/amsterdam/config"
"git.erbosoft.com/amy/amsterdam/util"
"github.com/CloudyKit/jet/v6"
)
@@ -126,6 +127,7 @@ func AmNewEmailMessage(sender int32, ip string) Message {
}
rc.uid = sender
rc.ip = ip
rc.SetFrom(config.GlobalConfig.Email.MailFromAddr, config.GlobalConfig.Email.MailFromName)
return rc
}