Closed quzhi1 closed 1 year ago
Can you try https://github.com/emersion/go-imap/pull/503?
(Please note, I only fix these issues myself because go-imap v2 is pretty new, at some point I'll expect users to open pull requests to fix the bugs themselves instead.)
Thanks for the fix @emersion . Really appreciate your work. 😄 I am still seeing errors in #503 , so I put error output in that PR.
Hello,
Sorry for bothering you again. This issue is related to https://github.com/emersion/go-imap/issues/500. I was testing with an icloud account, and got the same issue for logging out.
The code I ran is still from this example: https://godocs.io/github.com/emersion/go-imap/v2/imapclient#example-Client. I changed username, password, and imap server url to icloud.
I also added this option to client:
This is the error I saw:
Can you apply the same fix for log out? This is your previous commit: https://github.com/emersion/go-imap/commit/c3a0eed56682f058228a45c1ef77e6fdfcb89cb1