A self-hosted disposable mailbox service
Find a file
2022-10-08 07:05:08 +02:00
assets Update custom.css 2021-12-13 15:00:38 +01:00
css Update sample-mint.style.css 2021-12-13 15:34:42 +01:00
docs Add files via upload 2020-12-07 23:36:40 +01:00
favicon Add files via upload 2022-01-01 02:54:44 +01:00
locale Delete ping.update 2022-01-01 02:44:08 +01:00
vendor Delete URI.Munge 2020-10-23 21:53:29 +02:00
.php_cs.dist Add files via upload 2020-10-22 00:33:24 +02:00
app.json Update app.json 2021-12-28 00:42:07 +01:00
autolink.php Add files via upload 2020-10-22 00:33:24 +02:00
CHANGELOG.md Update CHANGELOG.md 2021-10-29 06:43:15 +02:00
composer.json Add files via upload 2020-10-22 00:33:24 +02:00
composer.lock Add files via upload 2020-10-22 00:33:24 +02:00
config_helper.php Add files via upload 2020-10-22 00:33:24 +02:00
CONTRIBUTING.md Add files via upload 2020-10-22 00:33:24 +02:00
controller.php Update controller.php 2021-09-28 02:42:17 +02:00
frontend.template.php Update frontend.template.php 2022-10-08 07:05:08 +02:00
functions.php Update functions.php 2021-01-26 18:18:04 +01:00
imap_client.php Add files via upload 2020-10-22 00:33:24 +02:00
index.php Add files via upload 2020-10-22 00:33:24 +02:00
LICENSE.txt Add files via upload 2020-10-22 00:33:24 +02:00
README.md Update README.md 2022-08-28 03:18:19 +02:00
sample.config.php Update sample.config.php 2021-12-12 23:47:18 +01:00
sample.ror.xml Update sample.ror.xml 2021-02-12 15:56:24 +01:00
sample.sitemap.xml Rename sitemap.xml to sample.sitemap.xml 2021-02-12 15:53:45 +01:00
sample.social.settings.php Rename social.settings.php to sample.social.settings.php 2021-01-26 21:44:28 +01:00
sample.social.usercontent.php Update sample.social.usercontent.php 2021-11-27 08:53:25 +01:00
sample.usercontent.php Update sample.usercontent.php 2021-09-30 11:45:50 +02:00
User.php Add files via upload 2020-10-22 00:33:24 +02:00
versioninfo.php Update versioninfo.php 2021-12-13 16:56:09 +01:00

DISPOSABLE-MAILBOX.EU und DISPOSABL.EMAIL laufen zum 12.11.2022 aus und werden nicht verlängert.
Das GitHub Projekt wird zum 30.11.2022 archiviert, die Begleitseiten gelöscht!
Kontaktiere uns, wenn du weiter machen möchtest

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

Repositories on Docker Repositories on GitHub

disposable-mailbox

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

Demo: disposable-mailbox.eu

Screenshot

Features

  • Anonymous usage, generate random email addresses.
  • New Mail notification. 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! - only affects main branch (or Synox's original) ).

  4. rename config.sample.php to config.php and apply the imap settings.

  • Set CHMOD (Oktal) to 400
    Wichtig:
    * Konfigurationsdaten nicht auf GitHub speichern - oder Repository auf Privat stellen!
    Important:
    * Do not save configuration data on GitHub - or set repository to private!
  1. 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

Troubleshooting

  • IMAP Server has invalid certificate: You might have to add novalidate-cert to the IMAP settings. See flags on http://php.net/manual/en/function.imap-open.php.

  • Error 500, Internal error: Check your error log file. Add to config.php:

    ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL);

Blank Site

$address = User::get_random_address($config{'domains'});

Please change line 58 in the controller.php, as it is above / or try:

$address = User::get_random_address($config['domains']); 

the page stops when a mail arrives

The entire page is displayed, from head to footer. But as soon as an incoming email is displayed, the footer is missing.

Unfortunately, this is an 
UNSOLVED PROBLEM 
that occurs with certain server configurations.

Testing on MacOs

  • brew install php
  • brew tap kabel/php-ext
  • brew install kabel/php-ext/php-imap
  • php -S localhost:8000 -t src

Credit 👍

This could not be possible without...