• This repository has been archived on 28/Mar/2021
  • Stars
    star
    390
  • Rank 109,868 (Top 3 %)
  • Language
    PHP
  • License
    GNU General Publi...
  • Created over 8 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

self-hosted disposable email service (php) using catch-all and imap

disposable-mailbox

Join the chat at https://gitter.im/synox/disposable-mailbox

A self-hosted disposable mailbox service (aka trash mail) ☁️ βœ‰οΈ

PHP is not your thing? You should try the more efficient NodeJs version: https://github.com/synox/void-mail


Screenshot

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

Before you start ❗

Installation

Disposable-mailbox can be installed by copying the src directory to a webserver.

  1. assure the imap extension is installed. The following command should not print any errors:

     <?php print imap_base64("SU1BUCBleHRlbnNpb24gc2VlbXMgdG8gYmUgaW5zdGFsbGVkLiA="); ?>
    
  2. download a release or clone this repository

  3. copy the files in the src directory to your web server (not the whole repo!).

  4. 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.

  5. 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

Troubleshooting

  • 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.

  • 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);

Testing on MacOs

  • brew install php
  • brew tap kabel/php-ext
  • brew install kabel/php-ext/php-imap
  • php -S localhost:8000 -t src

Credit πŸ‘

This could not be possible without...

More Repositories

1

youtube-dl-interactive

OBSOLETE - Interactively select the quality and format for youtube-dl
JavaScript
1,446
star
2

void-mail

self-hosted disposable email service (nodejs) using catch-all and imap
JavaScript
134
star
3

disposable-email

DISCONTINUED: self-hosted simple disposable email system (php)
CSS
56
star
4

openweathermap-spark-lib

DISCONTINUED: openweathermap.com implementation for Spark-Core
C++
16
star
5

diary

simple gpg-encrypted diary
Shell
10
star
6

yamaha_avr_api

a quick and dirty c++ api for yamaha receivers
C++
9
star
7

disposable-email-imap

DISCONTINUED: self-hosted simple disposable email system (php and imap)
CSS
7
star
8

quizlet-google-spreadsheets-sync

πŸ‘ Sync google spreadsheets to quizlet
JavaScript
6
star
9

ST7565-Display-Python

Simple guide how to use ST7565 LCD with python
Python
6
star
10

BFH-Latex_Bericht_Template_Markdown

DISCONTINUED: Latex_Bericht_Template_V1_2.zip + DocumentClass + Markdown
TeX
4
star
11

telewall

defend against unwanted phone calls on landline.
Python
4
star
12

spark-transport-display

A display for time, wheater and transport information
C++
4
star
13

srf-radio-sync-to-spotify

When you ❀️ SRF radio, but not the talking.
JavaScript
4
star
14

osxphotos-launchd-config

Shell
3
star
15

mark-as-done-extension

Mark any page as Done
JavaScript
3
star
16

secret-letterbox

PGP-Encrypted, Offline-First, Write-Only diary
JavaScript
2
star
17

dotfiles

dot files of macOS
Shell
2
star
18

icloud_photos_downloader-google-drive

combining icloud_photos_downloader with rclone to backup iCloud Photos to google drive.
Shell
2
star
19

open-life-tracker

Tracker for any data in your browser. Offline and mobile. Demo:
JavaScript
2
star
20

add-quik-video

CLI to add videos to the GoPro Quik Desktop for macOS app
JavaScript
2
star
21

dayone-convert

HTML
1
star
22

jukebox-raspberry-pi

Jukebox with Raspberry Pi. Using QR code playing cards and webcam
Java
1
star
23

Password-Manager

BFH School Project
CSS
1
star
24

learn-dictation

Your mac dictates words and you have to write the correctly.
Shell
1
star
25

topsy-turvy-cake-design.local

1
star
26

dynalist-inbox

CLI command to quickly add a line to the dynalist inbox
JavaScript
1
star
27

yahoo-weather

DISCONTINUED - A library for the yahoo weather api, made for spark core (http://spark.io).
C++
1
star