Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Spamgourmet offers the source code for their service for people who want to run their own disposable email service. Are there any others available for download?

I'd prefer them to be written in PHP but I'm mostly just curious to see other options out there.

share|improve this question

closed as off-topic by dan Sep 3 '14 at 8:06

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Pro Webmasters as they tend to attract opinionated answers and spam." – dan
If this question can be reworded to fit the rules in the help center, please edit the question.

It wouldnt be too tough to write in php. I would search stack overflow for a slolution but essential this is what i would do.

I would create an actual email address with a catch all alias associated to it. Then in MySQL i would create the email addresses that i want to receive mail to.

So I would have:
(you can name them whatever you want)

When someone sends email to any of these addresses, it would go to the catchall@mydomain.com email address and sit in the inbox.

Next create a php script that can use pop to read emails and delete them from the server. I think PHP has built in functions for this. The script would check the send to address and look it up in your database. Then I could forward it to the right recipeient (this is what craigslist does), or it could be more elaborate and put the message in your database for an internal messaging system (sort of like LinkedIn or Facebook).

Not that tough to build at all.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.