2020-06-02 13:29:58 +00:00
|
|
|
# Temporary Email made with PHP
|
|
|
|
|
|
|
|
You can check its live version at [billieiscute.xyz](https://billieiscute.xyz/temp/)
|
2020-06-02 13:31:46 +00:00
|
|
|
|
2020-06-02 13:29:58 +00:00
|
|
|
PHP-Temporary-Email is self-hosted temporary email library. You can use it on any website that has PHP IMAP
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
Clone this repositary
|
|
|
|
|
|
|
|
```bash
|
2020-06-02 13:32:59 +00:00
|
|
|
git clone https://github.com/mattprocoder/PHP-Temporary-Email
|
2020-06-02 13:29:58 +00:00
|
|
|
```
|
|
|
|
Install IMAP for php (Linux)
|
|
|
|
```bash
|
|
|
|
sudo apt-get install php5-imap
|
|
|
|
sudo php5enmod imap
|
|
|
|
```
|
|
|
|
Install IMAP for php (MacOS)
|
|
|
|
```bash
|
|
|
|
brew reinstall php56 --with-imap
|
|
|
|
```
|
|
|
|
|
|
|
|
Open 'assets/php/get-imap-details.php'
|
|
|
|
Set IMAP connection details in format
|
|
|
|
```php
|
|
|
|
imap_open("{address}", "username", "password");
|
|
|
|
```
|
|
|
|
Set other details such as delete timeframe and so on.
|
|
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
After this you can deploy the repo on your server.
|
|
|
|
|
|
|
|
## Contributing
|
|
|
|
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
|
|
|
|
|
|
|
|
Please make sure to update tests as appropriate.
|
|
|
|
|
|
|
|
## License
|
2020-06-02 13:31:46 +00:00
|
|
|
[GNU AGPLv3](https://choosealicense.com/licenses/agpl-3.0/)
|