BrianLeishman / go-imap

Super Simple IMAP Client Library for Golang
MIT License
66 stars 24 forks source link

Error on GetEmails #8

Closed lilithxxx closed 1 year ago

lilithxxx commented 1 year ago

On GetEmails I get the following error:

parsing time " 8-Sep-2022 14:27:02 +0200" as "02-Jan-2006 15:04:05 -0700": cannot parse " 8-Sep-2022 14:27:02 +0200" as "02"

I think it may be due to the number of digits in the day field of time.

BrianLeishman commented 1 year ago

fixed with https://github.com/BrianLeishman/go-imap/commit/2a010655c50a50969b611054dff420d889e3d283

lilithxxx commented 1 year ago

@BrianLeishman Thanks but now the imap.New function keeps on running without making a connection. Though the logs read: OK User logged in.