> Am 09.11.2022 um 17:27 schrieb Frael <fr...@marine-label.com>:
>
> Hello Christian, I try your example "CURLS email client"
>
> It works well, do you know how to filter emails on the date or another
> criterion, when polling in pop?
Please use IMAP examples.
You fetch the list of emails with e.g.
"UID FETCH 1:* (FLAGS BODY.PEEK[HEADER.FIELDS (Message-Id)])"
As custom request. This will return you the UIDs of the emails and their
message IDs.
So you can lookup which UIDs you got before and skip those.
Also you may want to learn about IMAP commands here:
https://www.atmail.com/blog/imap-commands/
Instead of FETCH you can also use SEARCH to find specific emails.
Best regards,
Christian
--
Read our blog about news on our plugins:
http://www.mbsplugins.de/
_______________________________________________
mbsplugins@monkeybreadsoftware.info mailing list
Options and unsubscribe here:
https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info