hvle Posted July 18, 2006 Share Posted July 18, 2006 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 Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted July 19, 2006 Share Posted July 19, 2006 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. Quote Link to comment Share on other sites More sharing options...
hvle Posted July 19, 2006 Author Share Posted July 19, 2006 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. Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted July 19, 2006 Share Posted July 19, 2006 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. Quote Link to comment Share on other sites More sharing options...
hvle Posted July 19, 2006 Author Share Posted July 19, 2006 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). Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted July 19, 2006 Share Posted July 19, 2006 [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. Quote Link to comment Share on other sites More sharing options...
hvle Posted July 19, 2006 Author Share Posted July 19, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.