hiding email addresses.
pcs305 - June 30, 2008 - 20:35
| Project: | Listhandler |
| Version: | 5.x-1.0-beta2 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I'm testing the Listhandler module to integrate/include old listserv users to a new Drupal forum.
The email addresses are openly included in the listserv emails and thus the forum posts.
What is the best way of handling the email addresses? I do not want to expose email addresses for easy pickings.
Are there any methods known to work with listhandler to obfuscate the email addresses?
Thanks

#1
The best place, I think, is to have a filter obfuscate the email addresses.
The same filter could also do colored quoting, smilie graphics and other modifications. It could also turn off obfuscating for logged in users (if you wanted).
Unfortunately I know of no filter that does that yet :-(
P.
#2
I have used the Custom Filter module (http://drupal.org/project/customfilter) to do this.
I used the following regex pattern:
/\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b/iwhich picks up email addresses and replace them with mail@XXXXX.XXXNext, I created a new input format for the mailing list. It applies the custom filter after all the other filters such as URL filter and line break filter. The input format is then set to the new input format you just created in the mailhandler configuration menu for each list.
#3
You can do the filter by your self or get it out of the box: SpamSpan http://drupal.org/project/spamspan
#4
My users did not want the email address present at all so it depends on what you want to do.
If you just want to hide the email from spam bots use SpamSan, if you don't want the email address there at all use a custom filter.