I solved the issue with App passwords !
https://support.google.com/accounts/answer/185833
Google requires "2-Step-Verification" but I only use GMail, so it is enough
The app password allows to use the POP3 server as usual.
Christian wrote: ↑25 Jun 2022, 14:50
But why don't you simply use IMAP for GMail then?
Well, the POP3 logic is different, so using a mixture of POP3 and IMAP clients is not a good solution.
First trouble: the already read POP mails are not marked as read for IMAP, and conversely
That means, when switching from POP3 to IMAP, you need (in theory) to download 3-5 years of mails. Ugh !
In fact, I continue to use POP3 because I never solved this trouble,
In PopMan, the solution I found was to modify the "Parameters=" line in popman.ini file, for example:
Parameters=Mailbox = "INBOX";§r§nUseSearchCmd = "true";§r§nCriteria = "
SINCE 07-june-2022 UNSEEN UNDELETED";§r§nIgnoreMailboxNotExisting = "false";§r§nTLS = "true";§r§nExpunge = "true";§r§nFastMode = "true"
I don't know if this is the good way. It it not useful to change periodically the SINCE criteria.
I found a list of IMAP criteria in PHP manual:
https://www.php.net/manual/en/function.imap-search.php
Second issue is similar: deleted IMAP mails in PopMan will not be marked as deleted in another POP3 client.
I use mainly PopMan to clear my emails before downloading them in Thunderbird. Thunderbird allows POP3 with Oauth2.
So if I use IMAP in PopMan, and delete the emails in the IMAP server, I shall still download them in the POP3 client (Thunderbird)
Finally, I agree with Qik
If there is no SW complications, I agree that adding Oauth2 to POP3 servers would help a lot of people reluctant to switch to IMAP.
Or simply add a suggestion to use App passwords for Google accounts (it requires the 2 step verification).
The Google App password bypasses completely the Oauth2 logic.
BTW, "popMan" means POP manager, after all