8590e36394
* fix #71 find config.php automatically. in current and parent directories. Show error message if not found. |
||
---|---|---|
src | ||
.gitignore | ||
app.json | ||
browserstack.png | ||
CHANGELOG.md | ||
composer.json | ||
composer.lock | ||
CONTRIBUTING.md | ||
LICENSE.txt | ||
README.md | ||
screenshot_example.png |
disposable-mailbox
A self-hosted disposable mailbox service (aka trash mail) ☁️ ✉️
Demo: BhadooMail
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
- webserver with php >=7.2
- php imap extension
- IMAP account and a domain with catch-all configuration. (all emails go to one mailbox).
Before you start ❗
- Subscribe to to be notified about issues and bugfixes.
- This is Beta software, there are still unsolved problems. Contributions are welcome! ❤️
- License: GPL-3.0. You can modify this application and run it anywhere, charge money and show advertisement. Any forks or repacked distribution must follow the GPL-3.0 license.
- A link to https://github.com/synox/disposable-mailbox in the footer is appreciated.
Installation
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
toconfig.php
and apply the imap settings. Moveconfig.php
to a safe location outside thepublic_html
. -
edit
index.php
andjson-api.php
: set the new path toconfig.php
. -
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...
- https://github.com/barbushin/php-imap, https://github.com/gnugat-legacy/PronounceableWord, http://htmlpurifier.org/,
- https://github.com/turbolinks/turbolinks, http://tobiasahlin.com/spinkit/
Supported by BrowserStack, which allows us to test projects online with any browser as a service. :-)