Jump to content

Archived

This topic is now archived and is closed to further replies.

hvle

anonymous emailer

Recommended Posts

how do I create an annonymous emailing?

for each member on my site, i'd like to give them an annoymous email, such as anno563236@mysite.com.
and when somebody send email to that email, it'll forward to the user real email address.

Is this possible in php?

thank guys

Share this post


Link to post
Share on other sites
If you are talking about an actual email box, then you would have to set it up through your host using mail forwarding.

However, you can create a contact form using html/php and never reveal the person's email address.

Share this post


Link to post
Share on other sites
yes, i know i can use a send mail.  But the point here is give user an email address that can be send from anywhere.

is it possible to set up email forwarding with PHP, i need it to be dynamicly.

Share this post


Link to post
Share on other sites
Probably, but not easily.  You would have to have a cron script that would check the anon....@domain.com email boxes, and forward them out to the real addresses.

Share this post


Link to post
Share on other sites
yes, I have a db to convert anno345344@mysite.com to their actual email.

The hard work is, when somebody email to anno345344@mysite.com, I have to catch it with the mail server (POP or SMTP).

Share this post


Link to post
Share on other sites
[quote]I have to catch it with the mail server (POP or SMTP)[/quote]

You would have to have a mailbox set up for each one that would be checked by your script...or set up address forwarding on your mail host.

Share this post


Link to post
Share on other sites
can't do that, everything need to be dynamicly.  so to summarize what I wanted to do:

for each user:
1.  create string of annonymous account name, ie. anno535235@mysite.com, and store in db.
2.  intercept incomming emails, like a filter.
3.  match the annonymous account and send the content of email to the actual email address.

step 2 is where I have no clue.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.