{"id":13556942,"url":"https://github.com/synox/disposable-mailbox","last_synced_at":"2025-04-03T10:31:53.775Z","repository":{"id":63042620,"uuid":"62469726","full_name":"synox/disposable-mailbox","owner":"synox","description":" self-hosted disposable email service (php) using catch-all and imap","archived":true,"fork":false,"pushed_at":"2021-03-27T20:44:17.000Z","size":3967,"stargazers_count":390,"open_issues_count":7,"forks_count":149,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-11-04T06:35:26.524Z","etag":null,"topics":["disposable-email","email-client","imap","imap-client","php","temporary-email","trashmail"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/synox.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-02T21:06:09.000Z","updated_at":"2024-11-02T08:07:49.000Z","dependencies_parsed_at":"2022-11-11T18:01:14.992Z","dependency_job_id":null,"html_url":"https://github.com/synox/disposable-mailbox","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synox%2Fdisposable-mailbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synox%2Fdisposable-mailbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synox%2Fdisposable-mailbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synox%2Fdisposable-mailbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/synox","download_url":"https://codeload.github.com/synox/disposable-mailbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246984716,"owners_count":20864492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["disposable-email","email-client","imap","imap-client","php","temporary-email","trashmail"],"created_at":"2024-08-01T12:04:05.644Z","updated_at":"2025-04-03T10:31:48.547Z","avatar_url":"https://github.com/synox.png","language":"PHP","funding_links":[],"categories":["PHP","php"],"sub_categories":[],"readme":"# disposable-mailbox\n[![Join the chat at https://gitter.im/synox/disposable-mailbox](https://badges.gitter.im/synox/disposable-mailbox.svg)](https://gitter.im/synox/disposable-mailbox?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nA **self-hosted** disposable mailbox  service (aka trash mail)  :cloud: :envelope: \n\n**PHP is not your thing? You should try the more efficient NodeJs version:** https://github.com/synox/void-mail\n\n-----\n\n![Screenshot](docs/screenshot_example.png)\n\n\n## Features\n\n* Anonymous usage, generate random email addresses. \n* New Mail notification. Download and delete your emails.\n* Display emails as text or html with sanitization  filter. \n* Display emails based on one [catch-all imap mailbox](https://www.google.ch/search?q=how+to+setup+catch-all+imap+mailbox).\n* Only requires PHP  \u003e=7.2 and [imap extension](http://php.net/manual/book.imap.php)\n\n## Usage\n\n### Requirements\n\n* webserver with php \u003e=7.2\n* php [imap extension](http://php.net/manual/book.imap.php)\n* IMAP account and a domain with [catch-all configuration](https://www.google.ch/search?q=how+to+setup+catch-all+imap+mailbox). (all emails go to one mailbox). \n\n### Before you start :heavy_exclamation_mark:\n\n* Subscribe to [![Join the chat at https://gitter.im/synox/disposable-mailbox](https://badges.gitter.im/synox/disposable-mailbox.svg)](https://gitter.im/synox/disposable-mailbox?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge) to be notified about issues and bugfixes.  \n* This is **Beta** software, [there are still unsolved problems](https://github.com/synox/disposable-mailbox/issues). Contributions are welcome! :heart:\n* 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](https://opensource.org/licenses/GPL-3.0).  \n* A link to https://github.com/synox/disposable-mailbox in the footer is appreciated.  \n\n\n\n### Installation\n\nDisposable-mailbox can be installed by copying the src directory to a webserver. \n\n1. assure the [imap extension](http://php.net/manual/book.imap.php) is installed. The following command should not print any errors:\n\n        \u003c?php print imap_base64(\"SU1BUCBleHRlbnNpb24gc2VlbXMgdG8gYmUgaW5zdGFsbGVkLiA=\"); ?\u003e\n\n2. download a [release](https://github.com/synox/disposable-mailbox/releases) or clone this repository\n3. copy the files in the `src` directory to your web server (not the whole repo!).\n4. 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.\n5. open it in your browser, check your php error log for messages. \n\n\n### Build it yourself\nThe src directory contains all required files. If you want to update the php dependencies, you can update them yourself.  You must have [composer](https://getcomposer.org/download/) installed. \n\n\nInstall php dependecies:\n\n    composer update\n\n### Troubleshooting\n\n* **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.\n* **Error 500, Internal error**: Check your error log file. Add to `config.php`: \n\n    ini_set('display_errors', 1);    ini_set('display_startup_errors', 1);    error_reporting(E_ALL);\n\n## Testing on MacOs\n * brew install php\n * brew tap kabel/php-ext \n * brew install kabel/php-ext/php-imap\n * php -S localhost:8000 -t src\n \n\n## Credit :thumbsup:\n\nThis could not be possible without...\n\n * https://github.com/barbushin/php-imap, https://github.com/gnugat-legacy/PronounceableWord, http://htmlpurifier.org/, \n * https://github.com/turbolinks/turbolinks, http://tobiasahlin.com/spinkit/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynox%2Fdisposable-mailbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynox%2Fdisposable-mailbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynox%2Fdisposable-mailbox/lists"}