Closed Cegazhos closed 3 months ago
In the second approach, both functions operate normally. I still haven't figured out where the mistake lies. Even after consulting with ChatGPT, we haven't reached a conclusion.
Do you know how to use a debugger? If not, this would be the perfect time to learn.
You'll learn and grow so much more as a software developer if I let you figure this out on your own than if I tell you what mistake you made.
Once you figure it out, you'll be able to spot this type of bug without needing to run the code in a debugger, before you had your morning coffee or even gotten out of bed yet while looking at the code snippet on your phone's tiny screen and laying in bed.
I'd wish you luck, but I'm confident that you won't need luck because you'll have real skills 😇
I've noticed a strange issue with MailKit. There are two approaches. The first approach gets stuck for several minutes after successful login at this line 'client.Inbox.Open(FolderAccess.ReadWrite);'. The second approach logs in normally. Bad
Good