disposable-mailbox-2/readme.md

57 lines
3 KiB
Markdown
Raw Normal View History

2016-07-02 21:05:44 +00:00
# self-hosted disposable email service
2016-07-08 11:59:21 +00:00
[![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&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2016-07-02 21:05:44 +00:00
## Goals:
* easy to use: generate random name or use custom name, auto refresh
* easy to host: just php5 + imap extension
2016-11-21 19:38:29 +00:00
* easy to install: just copy some files
2016-07-02 21:05:44 +00:00
* minimal code base: minimal features and complexity
2016-07-02 21:15:27 +00:00
| ![Screenshot](screenshot.png) |
| ------------- |
2016-07-02 21:09:59 +00:00
2016-12-19 21:21:53 +00:00
## You have to know
2016-08-08 07:10:25 +00:00
2016-12-19 21:34:36 +00:00
* Use [![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&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) and you will be be notified about issues and bugfixes.
2016-12-19 21:21:53 +00:00
* This is **WORK IN PROGRESS (WIP)** software, do not use it in production yet! [There are still unsolved problems](https://github.com/synox/disposable-mailbox/issues). Contributions are welcome!
* Licence: <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">disposable-mailbox</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/synox/disposable-mailbox" property="cc:attributionName" rel="cc:attributionURL">github:synox</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
2016-08-08 07:10:25 +00:00
2016-07-02 21:05:44 +00:00
## Webserver requirements
* php >=5.3.0
* [imap extension](http://php.net/manual/book.imap.php)
2016-12-19 21:34:36 +00:00
* apache 2 (let me know how it works on nginx!)
2016-07-02 21:05:44 +00:00
## Installation
1. assure the [imap extension](http://php.net/manual/book.imap.php) is installed. The following command should not print any errors:
<?php print imap_base64("SU1BUCBleHRlbnNpb24gc2VlbXMgdG8gYmUgaW5zdGFsbGVkLiA="); ?>
2016-12-19 21:34:36 +00:00
2. download a [release](https://github.com/synox/disposable-mailbox/releases) or clone this repository
2017-02-28 07:32:18 +00:00
3. copy the files in the `src` directory to your web server (not the whole repo!).
2016-07-02 21:05:44 +00:00
4. rename `config.sample.php` to `config.php` and apply the imap settings. Move `config.php` to a safe location outside the `public_html`.
2016-12-19 21:34:36 +00:00
5. edit `backend.php` and set the new path to `config.php`.
2017-02-28 07:32:18 +00:00
6. open it in your browser, check your php error log for messages.
2016-07-02 21:05:44 +00:00
## Build it yourself
2016-12-19 21:21:53 +00:00
The 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.
2016-09-14 18:27:18 +00:00
2016-07-02 21:05:44 +00:00
Install php dependecies:
composer install
## Credit
This could not be possible without...
* http://angularjs.org/
2016-07-02 21:15:27 +00:00
* https://github.com/barbushin/php-imap
2016-09-14 18:27:18 +00:00
* https://github.com/gregjacobs/Autolinker.js/
2016-11-21 08:33:18 +00:00
* http://chancejs.com/