开发者

Best way to earmark messages in an IMAP folder?

开发者 https://www.devze.com 2023-04-12 03:27 出处:网络
I am working on an application that is supposed to connect to IMAP account, read through emails and pick out emails sent by lets say \"Mark\", then it is supposed to respond to mark

I am working on an application that is supposed to connect to IMAP account, read through emails and pick out emails sent by lets say "Mark", then it is supposed to respond to mark with an automatic response such as "Got it mate" and then do the same tomorrow, with the only difference that tomorrow it should not respond to the same email. I am not sure how to achieve this the best way, I have thought of storing the processed IDs in a table, or record last check date. But I feel these are not the 开发者_JAVA百科best CS solutions.


The UID is guaranteed to be unique. Store each one locally.

0

精彩评论

暂无评论...
验证码 换一张
取 消