implementing read emails

This commit is contained in:
bel
2020-04-01 05:00:53 +00:00
parent 4ca33e1c7b
commit aac86fc8c1
39 changed files with 2 additions and 74 deletions

3
main.go Normal file → Executable file
View File

@@ -2,6 +2,7 @@ package main
import (
"local/args"
"local/sandbox/contact/contact"
)
func main() {
@@ -16,7 +17,7 @@ func main() {
if err := as.Parse(); err != nil {
panic(err)
}
emailer := &Emailer{
emailer := &contact.Emailer{
From: as.Get("from").GetString(),
SMTP: as.Get("smtp").GetString(),
POP3: as.Get("pop3").GetString(),