Jump to content

Email anonymization w/PHP?


extrapolation

Recommended Posts

Hi,

I'm working with a client and developing a PHP/MySQL user-driven site. He wants users to have the ability to get their email address anonymized automatically (no prob so far), but he also wants them to have the ability to send to each others' anonymized emails using mailto: links, and get them relayed to the real emails (i.e., so they can email directly to those addresses through their own client). Anyone done anything like this? Can it be done using PHP? Any help is hugely appreciated; I'll lose this client if I can't pull this off, as it's a very important feature for the site.
Link to comment
Share on other sites

The only way you will be able to accomplish this is if all of the anonymized email addresses point to your system. You need to write a php script that will be started whenever email arrives on the system. This script would parse the headers and get the To: address. It would then check to see if that address is a known anonymized address. If it is an anonymized address, it would replace it with the real address and send it on it's way, if not, the script would just send the message on.

Ken
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.