Feature #7660
Updated by Carsten Rose 6 months ago
Es waere gut wenn QFQ auf Mails via IMAP zugreifen koennten.
* Sync als Daemon laufen lassen,
* Eingehende Mails automatisch in 'INSERT...' Statements verwandelt.
* Folder 'Inbox' und 'Sent' (falls via Mailprogramm versendet wurde kann so ein Thread aufgebaut werden).
* Mails nach 'done' verschieben.
* Neue Mail ablegen (eine Mail die gesendet wurde soll in den Send Folder)
* Wenn die Mails in der DB sind (ggfs.mit Attachment) koennen sie dort angezeigt.
h2. PHP
* https://www.php-imap.com/ (incl. oauth2)
* https://github.com/barbushin/php-imap
* Doku um PHP IMAP selber zu implementieren: https://www.toptal.com/php/building-an-imap-email-client-with-php
h2. Fuer Outlook / OAuth 2
* https://github.com/Webklex/php-imap/issues/264
* https://www.php-imap.com/examples/oauth
* https://github.com/javanile/php-imap2
* http://wiki.canfigure.net/en/guides/exchange-oauth2
h2. Python
* imaplib (https://docs.python.org/3/library/imaplib.html)
* https://coderzcolumn.com/tutorials/python/imaplib-simple-guide-to-manage-mailboxes-using-python
* https://coderslegacy.com/python/imap-read-emails-with-imaplib/
* https://imapclient.readthedocs.io/en/3.0.1/
Irgendwie machen mir die Posts den Eindruck als wenn imaplib nicht wirklich sinnvoll ist, wenn das Thema gegoodled wird kommen nur alte Posts zum vorschein.
* https://stackoverflow.com/questions/28776250/move-mail-in-imap-with-python-library
* https://stackoverflow.com/questions/2230037/how-to-fetch-an-email-body-using-imaplib-in-python
* https://stackoverflow.com/questions/25234862/how-to-copy-email-in-inbox-into-important-mailbox-with-imaplib
h2. IMAP best practice
* https://www.atmail.com/blog/imap-101-manual-imap-sessions/
* https://www.atmail.com/blog/advanced-imap/ (u.a. UID und APPEND)
* https://www.atmail.com/blog/imap-commands/
* https://en.wikipedia.org/wiki/Internet_Message_Access_Protocol
h2. MAPI (exchange)
* https://www.phpflow.com/php/how-to-read-inbox-mails-from-exchange-server/
* https://www.phpflow.com/php/how-to-connect-exchange-server-with-php/
* https://github.com/hfig/MAPI
h2. Outdated
* https://github.com/escobar022/php-imap-ToDB