BrianLeishman/go-imap

Error on GetEmails

Closed this issue · 2 comments

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.

fixed with 2a01065

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