self-hosted disposable email service (php) using catch-all and imap
mgrondin 1a37c54e48 Reflect new demo instance | 4 rokov pred | |
---|---|---|
docs | 5 rokov pred | |
src | 4 rokov pred | |
.gitignore | 5 rokov pred | |
.php_cs.dist | 5 rokov pred | |
CHANGELOG.md | 4 rokov pred | |
CONTRIBUTING.md | 5 rokov pred | |
LICENSE.txt | 7 rokov pred | |
README.md | 4 rokov pred | |
app.json | 6 rokov pred | |
composer.json | 5 rokov pred | |
composer.lock | 5 rokov pred |
A self-hosted disposable mailbox service (aka trash mail) :cloud: :envelope:
Forked from synox/disposable-mailbox
Demo: YouDaBomb Tempmail
Disposable-mailbox can be installed by copying the src directory to a webserver.
assure the imap extension is installed. The following command should not print any errors:
<?php print imap_base64("SU1BUCBleHRlbnNpb24gc2VlbXMgdG8gYmUgaW5zdGFsbGVkLiA="); ?>
download a release or clone this repository
copy the files in the src
directory to your web server (not the whole repo!).
rename config.sample.php
to config.php
and apply the imap settings. Move config.php
to a safe location in a parent directory outside the public_html
, so it is not reachable through the browser.
open it in your browser, check your php error log for messages.
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
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);
This could not be possible without...