Project

General

Profile

Feature #7660

Updated by Carsten Rose 4 months ago

Es waere gut wenn QFQ auf Mails via IMAP zugreifen koennten.  

 * Import: Z.B. koennte ein Daemon laufen, der eingehende Mails automatisch in 'INSERT...' Statements verwandelt. So ein Daemon koennte auf den Foldern Inbox und Sent laufen. Ein 'INSERT ...' wird zeitnah getriggert (fetchmail kann das, ob die PHP Klassen das koennen weiss ich nicht). nciht). 

 Aufgaben: * 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 

 Outdated:  

 * https://github.com/escobar022/php-imap-ToDB 

 Fuer Outlook / OAuth 2: 

 * https://www.php-imap.com/examples/oauth 
 * https://github.com/javanile/php-imap2 

   * http://wiki.canfigure.net/en/guides/exchange-oauth2 

 Weiter: 

 * Mails in einen anderen Order verschieben. 
 * Mails loeschen. 
 * Neue Mail ablegen (eine Mail die gesendet wurde soll in den Send Folder) 

 Ziel: 

 
 * Wenn die Mails in der DB sind (ggfs.mit Attachment) koennen sie dort angezeigt. 
 * Wenn es eine Moeglichkeit gibt Mails im Sent Folder abzulegen, koennten bei 'sendMail' automatisch Kopien abgelegt werden. 
 * Wird ein Token im Subject/Body definiert, kann der User mit einem beliebigen Emailclient arbeiten, QFQ scannt den Sent Folder und ordnet ausgehende Mails automatisch dem Vorgang zu. 

 PHP: Optionen: 

 * https://www.php-imap.com/ (incl. oauth2) 
 * https://github.com/barbushin/php-imap 
 * Doku um Eine Alternative zu einem PHP IMAP selber zu implementieren: https://www.toptal.com/php/building-an-imap-email-client-with-php 

 Fuer Outlook / OAuth 2: 

 * https://www.php-imap.com/examples/oauth 
 * https://github.com/javanile/php-imap2 

   * http://wiki.canfigure.net/en/guides/exchange-oauth2 


 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/ 

 Outdated:  

 * https://github.com/escobar022/php-imap-ToDB 
 Client waere ein Python Daemon der die Mails in eine DB kopiert.

Back