Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to setup disposable email aliases (craigslist style)?

Tags:

Writing my own "craigslist" in .NET, trying to figure out how to create disposable email aliases (craigslist type)?

Here's what I mean by "craigslist style".

My website is: somecoolurl.com

User creates an account, but doesn't want to give his/her email out as contact when posting on the site.

I want to give the user a TEMP email [email protected] and alias that to their real email. When the user wants to get a new email, the TEMP gets canned and a new email gets created.

like image 810
roman m Avatar asked Feb 11 '10 07:02

roman m


2 Answers

Are you talking about email address piping? Check out this SO question Best way to send anonymous email like craigslist

Here is how to pipe incomming mail on IIS

like image 79
Tadas Šukys Avatar answered Nov 14 '22 23:11

Tadas Šukys


Hmm, not exactly sure what you're referring to with "craigslist" but I do know that in an app that I currently built, I purchased the SmarterMail app from http://smartertools.com and used their .NET API as part of my software.

When a user signs up and pays, I generate a random string (you could make it more meaningful if you want) and then append it to the domain name ([email protected])

From there I create the email address via the SmarterMail API and assign the password based on the users existing password.

Then I have a watcher the checks to see if the paid subscription lapses... if it does, I disable the account for X days. If the user doesn't renew after X days, the watcher deletes the account (this keeps my total users down since I didn't pay for the unlimited license yet).

Works very well.

like image 36
Chase Florell Avatar answered Nov 14 '22 21:11

Chase Florell