diff --git a/imap.go b/imap.go index 8688604..14d59c8 100644 --- a/imap.go +++ b/imap.go @@ -19,7 +19,7 @@ func (s *Server) connectIMAP() (*imapclient.Client, error) { if s.imap.tls { c, err = imapclient.DialTLS(s.imap.host, nil) if err != nil { - return nil, fmt.Errorf("failed to connect to IMAPS server: ^v", err) + return nil, fmt.Errorf("failed to connect to IMAPS server: %v", err) } } else { c, err = imapclient.Dial(s.imap.host)