diff --git a/config.json b/config.json index c3de510..a3fc58f 100644 --- a/config.json +++ b/config.json @@ -7,5 +7,11 @@ "Mock": true, "Cookie": "" } + }, + "Emailer": { + "From": "breellocaldev@gmail.com", + "POP3": "pop.gmail.com:995", + "Password": "gojfkkfrkmtxzyro", + "Limit": 1 } } diff --git a/config/config.go b/config/config.go index b844af2..5ac7230 100644 --- a/config/config.go +++ b/config/config.go @@ -3,6 +3,7 @@ package config import ( "encoding/json" "io/ioutil" + "local/sandbox/contact/contact" "local/storage" "os" "sync" @@ -19,6 +20,7 @@ type Config struct { Cookie string } } + Emailer contact.Emailer lock sync.Mutex db storage.DB