Jump to content


Photo

anonymous emailer


  • Please log in to reply
6 replies to this topic

#1 hvle

hvle
  • Members
  • PipPipPip
  • Advanced Member
  • 667 posts
  • Locationmelbourne, Australia

Posted 18 July 2006 - 11:45 PM

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
Life's too short for arguing.

#2 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 19 July 2006 - 12:19 AM

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.

#3 hvle

hvle
  • Members
  • PipPipPip
  • Advanced Member
  • 667 posts
  • Locationmelbourne, Australia

Posted 19 July 2006 - 12:24 AM

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.
Life's too short for arguing.

#4 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 19 July 2006 - 12:25 AM

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.

#5 hvle

hvle
  • Members
  • PipPipPip
  • Advanced Member
  • 667 posts
  • Locationmelbourne, Australia

Posted 19 July 2006 - 12:30 AM

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).
Life's too short for arguing.

#6 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 19 July 2006 - 12:38 AM

I have to catch it with the mail server (POP or SMTP)


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.

#7 hvle

hvle
  • Members
  • PipPipPip
  • Advanced Member
  • 667 posts
  • Locationmelbourne, Australia

Posted 19 July 2006 - 12:56 AM

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.
Life's too short for arguing.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users