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


    If you look at some craigslist posts like this -

    - you will see they use a 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.

  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

    There is no charge simply use a prefix such to the domain, e.g. as your email address. To check email received go to 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