Anyone know how to create on the fly e-mail addresses like craigslist do?

Discussion in 'Coding Help' started by dude, Jun 11, 2007.

  1. dude

    dude New Member

    Hello,

    If you look at some craigslist posts like this -

    http://sfbay.craigslist.org/sfc/mis/349476796.html

    - you will see they use a some-random-number@craigslist.org e-mail address for replies.

    Basically when someone posts something, they input their e-mail address, and then an anonymous craigslist e-mail address is created which is linked to the real e-mail address.

    Anyone know how to do this?

    Thank you
     
  2. paul

    paul Ninja

  3. niall

    niall New Member

    Your best bet is to use an MTA like Postfix which can get its email details out of a mysql database. If someone new signs up, create a database entry with the random username and the email it is to be forwarded to, and postfix will take immediate note.

    I have implemented something similar before.

    Niall.
     
  4. dude

    dude New Member

    Thank you both for your replies. I shall look into both your suggestions.
     
  5. ChristineK

    ChristineK New Member

    On the fly email addresses can be created using mailinator.com

    There is no charge simply use a prefix such to the domain, e.g. christinek@mailinator.com as your email address. To check email received go to mailinator.com and sign in as 'christinek'. A wide, wide range of prefixes can be used. I would suggest using abstract ones to avoid seeing a load of other peoples email. I stress that these are only useful for transient email addresses.

    Hope this helps, Christine.
     

Share This Page