aboutsummaryrefslogtreecommitdiff
path: root/internal/imap/imap.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/imap/imap.go')
-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()