Email Sync

Configuration

Preparation

  • Keep sure table Setting is up to date.

Create a new Typo3 page for IMAP configuration and add a tt-content with following content::

file=_emailSync

Use this page to manage all your IMAP accounts and folders.

QFQ Config

  • Extension > QFQ > Debug

    • imapLogMode: debug, verbose, error, none

    • imapLog: fileadmin/protected/qfqProject/log/imap.log

Running

The php script typo3conf/ext/qfq/Classes/External/email-sync.php will sync all mails from specified accounts and folders to table EmailSync:

email-sync.php sync|listAllFolder|listAllFolderMail

Mode:

  • sync: all mails from configured accounts & folders (via IMAP ) will be copied to table EmailSync.

    • If the specified folder does not exist, report all folder to imap.log.

  • listAllFolder: for every configured account list all folders.

  • listAllFolderMail: for every configured account list all folders with their emails.