Add configurable SMTP server

This commit is contained in:
scs
2019-01-02 19:04:40 +00:00
parent be99675f7b
commit 9093104c28
2 changed files with 7 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ func main() {
os.Exit(1)
}
scsusers.Init(db, "test", "Example Test", "nobody@nowhere.com")
scsusers.Init(db, "test", "Example Test", "nobody@nowhere.com", "localhost:25")
a:=scsusers.UsernameAvailable("testuser")
fmt.Printf("Initial test of username available: %v\n", a)
a=scsusers.Register("testuser", email, "127.0.0.1")