2017 © Pedro Peláez
 

library mailbox-folder

Lists and displays email messages stored on a local folder

image

zbateson/mailbox-folder

Lists and displays email messages stored on a local folder

  • Monday, January 9, 2017
  • by zbateson
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

zbateson/mailbox-folder

Shows a mailbox of emails stored as MIME messages in a folder., (*1)

Screenshot 1, (*2)

Screenshot 2, (*3)

Requirements

Requires PHP 5.4 or newer., (*4)

Configuration

Copy config/Prod.default.php to config/Prod.php, and edit the following values as needed., (*5)

// change it if mailbox-folder sits under a different path,
// for example: '/mail'
$di->values['basepath'] = '/';
// update this if you want a different name to show up in the
// title bar
$di->values['appname'] = 'mailbox-folder';
// configure the folder to read email messages from
$di->values['maildir'] = '/path/to/mailbox/folder';

By default, mailbox-folder creates a simple json database using jamesmoss/flywheel, and stores it under sys_get_temp_dir(), in a folder called 'mailbox-folder'. This can be changed by adding the following to config/Prod.php, along with the other configuration settings mentioned:, (*6)

$di->values['writedir'] = '/path/to/writable/dir';

Configuring basepath

If changing the basepath, a small modification to the .htaccess file may be needed:, (*7)

<IfModule mod_rewrite.c>
    # turn on rewriting
    RewriteEngine On

    # turn empty requests into requests for "index.php",
    # keeping the query string intact
    RewriteRule ^$ /index.php [QSA]

    # look for cached versions of files in ./web/cache/
    RewriteCond %{DOCUMENT_ROOT}/cache%{REQUEST_URI} -f
    RewriteRule ^(.*)$ cache/$1 [L]

    # for all files not found in the file system,
    # reroute to "index.php" bootstrap script,
    # keeping the query string intact.
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !favicon.ico$

    # Replace "BASEPATH_HERE" with your basepath as set
    # above in your config
    RewriteRule ^(.*)$ /BASEPATH_HERE/index.php [QSA,L]
</IfModule>

License

BSD licensed - please see license agreement., (*8)

The Versions

09/01 2017

dev-master

9999999-dev

Lists and displays email messages stored on a local folder

  Sources   Download

BSD-3-Clause

The Requires

 

by Zaahid Bateson

email folder mailbox inbox

08/01 2017

0.1.0

0.1.0.0

Lists and displays email messages stored on a local folder

  Sources   Download

BSD-3-Clause

The Requires

 

by Zaahid Bateson

email folder mailbox inbox