简体   繁体   中英

How to download/save all the inbox/sent emails using mailkit/mimekit IMAP?

I have successfully used MAILKIT/MIMEKIT api for sending/receiving emails. Now, i am using the IMAP function to download the INBOX and SENT items emails and store them locally? What should I use a database ? or how should I proceed ?

You can use a database or you can save all of the messages into a Maildir structure, or you could even save all of the messages to a single file like an mbox .

How you decide to handle this is completely up to you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM