jstedfast / MailKit

A cross-platform .NET library for IMAP, POP3, and SMTP.

Home Page:http://www.mimekit.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sync all folders using Google imap

usamasarfraz opened this issue · comments

Hi i am learning mailkit from last 2 months.
I just want to sync all folders without selecting every folder using imap (on gmail server) just like (em client) can you please suggest me any idea or feature which can solve my problem.
Please add an example to clear if possible thanks.

You can't sync without selecting folders. That's just how IMAP works.

So can you suggest me any strategy to keep eye on every folder ?

I don't understand what exactly you even hope to accomplish and I'm not sure you have a clear picture of what you want, either.

I would recommend reading the specification for the IMAP protocol: https://datatracker.ietf.org/doc/html/rfc3501

This will help you to understand what types of things are even possible to do and then, once you can more clearly define what you want, you'll most likely be able to figure out how to use MailKit without my help - but, if you do need a little help here or there once you figure out what you want to do, you can ask me for help and I'll be able to help you.

For me to answer your current question in the form of providing you with exact steps to accomplish what I interpret your question to be would take me days of effort. I don't have time for that unless you are willing to hire me as a contactor and pay me.