aboutsummaryrefslogtreecommitdiff
path: root/internal/imap
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-20 18:45:43 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-20 18:45:43 +0200
commitafe2c4919dc2ded2f3b7d796b914dd66fbe78e64 (patch)
treefebdd45c23807fa1e9c22078b7927cd39956f308 /internal/imap
parent47fa4464d7cf028dd871d48bf6472d97f60b4a79 (diff)
downloadfeed2imap-go-afe2c4919dc2ded2f3b7d796b914dd66fbe78e64.tar.gz
feed2imap-go-afe2c4919dc2ded2f3b7d796b914dd66fbe78e64.tar.bz2
feed2imap-go-afe2c4919dc2ded2f3b7d796b914dd66fbe78e64.zip
Fixes and validation
Diffstat (limited to 'internal/imap')
-rw-r--r--internal/imap/imap.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/imap/imap.go b/internal/imap/imap.go
index f2a9082..2fd7580 100644
--- a/internal/imap/imap.go
+++ b/internal/imap/imap.go
@@ -99,8 +99,9 @@ func Connect(url *url.URL) (*Client, error) {
}
log.Print("Connected to ", url.Host, " (STARTTLS)")
+ } else {
+ log.Print("Connected to ", url.Host, " (Plain)")
}
- log.Print("Connected to ", url.Host, " (Plain)")
}
pwd, _ := url.User.Password()