implementing read emails
This commit is contained in:
3
main.go
Normal file → Executable file
3
main.go
Normal file → Executable 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(),
|
||||
|
||||
Reference in New Issue
Block a user