self-hosted disposable email service (php) using catch-all and imap
Find a file
2018-06-14 18:53:11 +02:00
src added HasNewMessagesController 2018-06-14 18:53:11 +02:00
.gitignore simpler version without much js, just vanilla pure simple php (with some libs) 2018-01-09 00:23:36 +01:00
browserstack.png Link to browserstack 2017-10-12 12:02:34 +02:00
CHANGELOG.md created JSON API, TODO: refactor 2018-03-06 22:21:43 +01:00
composer.json autolink and html support 2018-01-09 20:33:09 +01:00
composer.lock autolink and html support 2018-01-09 20:33:09 +01:00
CONTRIBUTING.md License: GPL-3.0 2017-04-15 21:10:22 +02:00
LICENSE.txt License: GPL-3.0 2017-04-15 21:10:22 +02:00
README.md Feature/refactor imap client (#48) 2018-03-03 21:33:29 +01:00
screenshot.png Add files via upload 2018-01-31 12:58:40 +01:00

disposable-mailbox

Join the chat at https://gitter.im/synox/disposable-mailbox

A self-hosted disposable mailbox service (aka trash mail) ☁️ ✉️

Demo: BhadooMail

Screenshot

Features

  • Anonymous usage, generate random email addresses.
  • Automatic refresh. Download and delete your emails.
  • Display emails as text or html with sanitization filter.
  • Display emails based on one catch-all imap mailbox.
  • Only requires PHP >=7.2 and imap extension

Usage

Requirements

Before you start

Installation

Disposable-mailbox can be installed by copying the src directory to a webserver.

  1. assure the imap extension is installed. The following command should not print any errors:

     <?php print imap_base64("SU1BUCBleHRlbnNpb24gc2VlbXMgdG8gYmUgaW5zdGFsbGVkLiA="); ?>
    
  2. download a release or clone this repository

  3. copy the files in the src directory to your web server (not the whole repo!).

  4. rename config.sample.php to config.php and apply the imap settings. Move config.php to a safe location outside the public_html.

  5. edit index.php and set the new path to config.php.

  6. open it in your browser, check your php error log for messages.

Build it yourself

The src directory contains all required files. If you want to update the php dependencies, you can update them yourself. You must have composer installed.

Install php dependecies:

composer update

Credit 👍

This could not be possible without...

BrowserStack

Supported by BrowserStack, which allows us to test projects online with any browser as a service. :-)